Re: Quartz clustering in camel spring DSL - JIRA CAMEL-8076

2014-11-26 Thread selva
Sorry Willem , its typo error I could not copy the row from DB so manually formed the table format. *quartZ* -> small 'z' i.e quartz -- View this message in context: http://camel.465427.n5.nabble.com/Quartz-clustering-in-camel-spring-DSL-JIRA-CAMEL-8076-tp5759589p5759639.html Sent from the C

Re: Multicast with multiple timeouts

2014-11-26 Thread Willem Jiang
I can reproduce the error, the patch is on the way. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On November 26, 2014 at 12:19:05 AM, gquintana (gerald.quint...@g

Re: FTP2 consumer (SFTP), using "localWorkDirectory" option - local file not deleted

2014-11-26 Thread fidoedidoe
Hi Claus Just to confirm the failure to remove the file from the /tmp/ folder *was* related to the removal of the file name headers (). To work around this I change my pseudo configuration that shown below. In summary I just encapsulated the , smtp, etc into an block within the multicast route de

Re: Multicast with multiple timeouts

2014-11-26 Thread gquintana
Is there an issue I can follow or should I create one? Gérald -- View this message in context: http://camel.465427.n5.nabble.com/Multicast-with-multiple-timeouts-tp5759576p5759646.html Sent from the Camel - Users mailing list archive at Nabble.com.

[Rest DSL] Automatic convertion of body to java.util.Map . How to fix it ?

2014-11-26 Thread Vaïsse-Lesteven Arthur
Hi every one! I'm trying to create a RESTful API using the Rest DSL capacity of the release 2.14.0 of Camel. My problem currently come from the fact that the body of the Exchange is automatically casted into a java Map object. Here come a reduced example (I tried to make it as small as possible.

How to stop a route from processing get requests continously

2014-11-26 Thread daninovac
I have the next scenario: I need to implement something like this: I have a file.txt with id's I have splitted those id's by \n and I need to do: >From file.txt -> split-> for each id make a GET request on a url (www.example.com). This url send to me some JSON -> Unmars

Re: camel-netty: no response received from remote server.

2014-11-26 Thread bwest
Hello, I've made some progress with the original question. I appears that I am receiving a response as expected. However, the response isn't in the body. So when i do a .log("Message: ${body}) in the route, it comes back blank. Although in my unit tests the following statement returns the r

Re: How to stop a route from processing get requests continously

2014-11-26 Thread Claus Ibsen
Hi See the timer or quartz component for a scheduler and make it run 1 time etc On Wed, Nov 26, 2014 at 4:44 PM, daninovac wrote: > I have the next scenario: > > I need to implement something like this: > I have a file.txt with id's > I have splitted those id's by \n and I need to do: > From fi

Re: camel-netty: no response received from remote server.

2014-11-26 Thread Claus Ibsen
Hi It depends on the codec you use for netty. I think it may for some odd reason be a java seriazlization codec as that was the default with the mina component, and we wanted netty to be similar. If you use textline=true then its a text based message etc. On Wed, Nov 26, 2014 at 4:50 PM, bwest

Re: camel-netty: no response received from remote server.

2014-11-26 Thread bwest
Hi Claus, This is the what my route currently looks like: from("direct:sendAuthMessage") .log("Logging Incoming message -->" + "${body}") .setBody(simple("${body}", String.class)) .to("netty:tcp://10.98.1.41:1100?clientPipelineFa

transacted() after from()

2014-11-26 Thread geppo
I ready in the Camel In Action book: “NOTE: When using transacted() in the Java DSL, you must add it right after from() to ensure that the route is properly configured to use transac- tions. This isn’t enforced in the DSL because the DSL is loosely defined to make it easy to maintain and develop C

Re: transacted() after from()

2014-11-26 Thread Claus Ibsen
Hi No you should still add it to the top of the route. On Wed, Nov 26, 2014 at 5:47 PM, geppo wrote: > I ready in the Camel In Action book: > > “NOTE: When using transacted() in the Java DSL, you must add it right > after from() to ensure that the route is properly configured to use transac- > t

Re: transacted() after from()

2014-11-26 Thread geppo
Thank you! -- View this message in context: http://camel.465427.n5.nabble.com/transacted-after-from-tp5759661p5759663.html Sent from the Camel - Users mailing list archive at Nabble.com.

CxfRs producer: connection not closed

2014-11-26 Thread Thibaut Robert
Hi, When using cxfRs to send a rest message in InOnly mode, Camel do not close the javax.ws.rs.core.Response object. As we are InOnly, the reponse object is not passed through the exchange, so the caller can not close it either. Not calling close on the response maintain the input stream open (an

Re: Servlet component matchOnUriPrefix is not working as documented

2014-11-26 Thread Amit
We are using Apache Camel 2.11.4. -- View this message in context: http://camel.465427.n5.nabble.com/Servlet-component-matchOnUriPrefix-is-not-working-as-documented-tp5759604p5759665.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: [Rest DSL] Automatic convertion of body to java.util.Map . How to fix it ?

2014-11-26 Thread Taariq Levack
Hi You need to set the type as SpeakerPojo.class I don't see a spring example here setting type but it should work the same as java so adjust accordingly. http://camel.apache.org/rest-dsl.html Taariq > On 26 Nov 2014, at 17:40, Vaïsse-Lesteven Arthur > wrote: > > Hi every one! > > I'm trying

Re: camel-netty: no response received from remote server.

2014-11-26 Thread Claus Ibsen
You can add an explicit conversion to your route to("netty...") convertBodyTo(String.class) to("log:...") On Wed, Nov 26, 2014 at 5:37 PM, bwest wrote: > Hi Claus, > > This is the what my route currently looks like: > > from("direct:sendAuthMessage") > .log("Logging Incom

Camel 2.14.0 Matrix Params are missing

2014-11-26 Thread Kumaran
Hi This is my first post in the forum, We are using camel 2.14.0 version and need to proxy the web service. i have posted to configurations below followed from the camel-proxy-example. http://localhost:29090/MyServer/"; loggingFeatureEnabled="true" loggin

Re: Camel 2.14.0 Matrix Params are missing

2014-11-26 Thread Sergey Beryozkin
Hi I agree it is a CXFRS producer bug that matrix parameters are lost. CAMEL-5405 was addressing a server side issue. I'll have a look. In meantime - please consider using an alternative Camel HTTP centric component - may be REST DSL ? or if it is feasible then pass the options as path or quer

Async processing for

2014-11-26 Thread figc
I have a spring-mvc / ext-js application which currently executes as such: 1) User enters data in a form which gets submitted as json to an mvc controller. The mvc controller invokes a web service, retrieves a file, does some ETL/database stuff and sends an email if there are problems...then it s

Re: xmljson component failing to do json>xml conversion

2014-11-26 Thread clinton
I had tried converting to a string. Just didn't work for some reason. I just wrote a bean to handle it. thx -- View this message in context: http://camel.465427.n5.nabble.com/xmljson-component-failing-to-do-json-xml-conversion-tp5759488p5759674.html Sent from the Camel - Users mailing list a

Re: Camel 2.14.0 Matrix Params are missing

2014-11-26 Thread Kumaran
Hi Sergey Thanks for the quick reply and taking a look at this issue. I will not be able to change the real REST service signature. Meanwhile i was going through REST DSL option suggestion. The camel-netty-http, camel-jetty, camel-restlet, camel-servlet, camel-spark-rest components document

Sending a Request to camel rout from rx java observable

2014-11-26 Thread Litom
How can I call a camel rout from rx java observable, and get a reply? I wish the call to be non blocking, when the component supports asynchronous processing. I tried to use producerTemplate.asyncRequest and noticed that It's thread is blocked, waiting on latch for a response. -- View this

Re: Camel 2.14.0 Matrix Params are missing

2014-11-26 Thread Kumaran
Hi Sergey I had a fix for this issue to support Matrix Parameter Could you validate. CxfRsProducer.java Added new methods like setupClientMatrix,getMatrixParametersFromMatrixString Thanks Kumaran -- View this message in c

Re: Camel 2.14.0 Matrix Params are missing

2014-11-26 Thread Willem Jiang
Hi Kumaran, Thanks for your contribution. Could you create a JIRA[1] and submit the diff patch to it? It could be more easy for us to track the issue and apply the patch. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.c

Re: Multicast with multiple timeouts

2014-11-26 Thread Willem Jiang
I just created a JIRA[1] for it. [1]https://issues.apache.org/jira/browse/CAMEL-8081 -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On November 26, 2014 at 9:44:27

Re: CxfRs producer: connection not closed

2014-11-26 Thread Willem Jiang
Thanks for pointing that out, I just created a JIRA[1] for it. [1]https://issues.apache.org/jira/browse/CAMEL-8082 -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem O

Re: Async processing for

2014-11-26 Thread Claus Ibsen
There is also the wire tap eip On Wed, Nov 26, 2014 at 10:54 PM, figc wrote: > I have a spring-mvc / ext-js application which currently executes as such: > > 1) User enters data in a form which gets submitted as json to an mvc > controller. > The mvc controller invokes a web service, retrieves a