Re: Can (S)JMS be safely used on Java EE?

2013-02-09 Thread Claus Ibsen
On Fri, Feb 8, 2013 at 10:44 PM, Harald Wellmann wrote: > AFAIK, WorkManager is only meant to be used in resource adapter/JCA > connector implementations. It should not be used by application code as an > Executor substitute. > I dont think so. The WorkManager is for any kind of work task. http:

Re: two instance of same apache camel application

2013-02-09 Thread Claus Ibsen
On Fri, Feb 8, 2013 at 11:39 PM, Rim wrote: > Hi , > I have two instance of apache camel application running on different ports > (I have changed the JMX PORT for running two instances simultanously). and > both the application pointing to the same Queue. > > After sending messages to the MQ only

Re: Quartz triggers being deleted when shutting down Camel.

2013-02-09 Thread Claus Ibsen
On Fri, Feb 8, 2013 at 11:04 PM, vishal1981 wrote: > Hi, > I am using Quartz as my starting endponig. I have defined the the route as > follows, > > from("quartz://myTimer?trigger.repeatInterval=12&trigger.repeatCount=-1&stateful=true") > .log("Test"); > When Camel comes up I do see

Re: building response along with request data

2013-02-09 Thread kiranreddykasa
Yeah but where can I can save the request message until it gets processed..?? And after saving how can co relate the request and response ?? - Regards kiran Reddy -- View this message in context: http://camel.465427.n5.nabble.com/building-response-along-with-request-data-tp5727111p572726

Re: Bug in bean-binding? Don't remove last quote

2013-02-09 Thread Claus Ibsen
On Fri, Feb 8, 2013 at 8:49 PM, Gardella juan wrote: > Hi all, > > In the page http://camel.apache.org/bean-binding.html said: > > "In the example above, we invoke the echo method with two parameters. The > first has the content 'World' (without quotes), and the 2nd has the value of > 5." > > But

Re: Files cannot be moved on FTP

2013-02-09 Thread Christian Schäfer
Hello Filippo, hello Camel users thanks a lot for testing. I just ran your test ftpExample.java with my ftp server and credentials on camel 2.10.3. This time I used another FTP server and got the same error as reported see: https://dl.dropbox.com/u/34369176/camel%20ftp%20move%20prob/log.txt W

Re: building response along with request data

2013-02-09 Thread Claus Ibsen
On Sat, Feb 9, 2013 at 9:18 AM, kiranreddykasa wrote: > > Yeah but where can I can save the request message until it gets > processed..?? > > And after saving how can co relate the request and response ?? > Read the docs, and try it out with your own hands. This is how you learn. > > > - >

Re: Files cannot be moved on FTP

2013-02-09 Thread Christian Schäfer
As the behaviour differs (at least in my case) I didn't find it useful/correct to reopen the issue. I added a link to the old issue noticing that ftp the move problem could be related to it. However, in the meantime I'm quite confused as I recreated the issue on two different camel projects o

Re: Bug in bean-binding? Don't remove last quote

2013-02-09 Thread Claus Ibsen
On Fri, Feb 8, 2013 at 8:49 PM, Gardella juan wrote: > Hi all, > > In the page http://camel.apache.org/bean-binding.html said: > > "In the example above, we invoke the echo method with two parameters. The > first has the content 'World' (without quotes), and the 2nd has the value of > 5." > > But

Re: building response along with request data

2013-02-09 Thread Raul Kripalani
The enricher EIP does that for you. You just worry about writing the code to merge the data from both messages. Raúl. On 9 Feb 2013 08:18, "kiranreddykasa" wrote: > > Yeah but where can I can save the request message until it gets > processed..?? > > And after saving how can co relate the reques

Re: Files cannot be moved on FTP

2013-02-09 Thread Filippo Balicchia
Hi Christian, if try to make a diff between our logs files You will see that are equals except for a row The line is [@ftpserver.com:21/httpdocs/temp] ilePollingConsumerPollStrategy WARN Trying to recover by disconnecting from remote server forcing a re-connect at next poll: ftp://us...@ftpserver.

AW: building response along with request data

2013-02-09 Thread jhm
For me (as beginner) that sounds more like - "save the message": message store - "relate": correlation identifier Maybe "claim check" ... Jan -Ursprüngliche Nachricht- Von: Raul Kripalani [mailto:r...@evosent.com] Gesendet: Samstag, 9. Februar 2013 11:37 An: users@camel.apache.org Betref

Re: AW: building response along with request data

2013-02-09 Thread Raul Kripalani
For more complex scenarios where you want durability across Camel restarts, it could make sense to persist the message in a db, to use message queues, correlations, etc. What not. In most cases, this is not necessary, especially when dealing with synchronous interactions, where the client is waiti

SJMS and InOut

2013-02-09 Thread Harald Wellmann
I'm rather confused by the different flavours of InOut. What's the difference between 1) from("direct:calculatorProxy") .inOut("sjms:calculator-queue"); and 2) from("direct:calculatorProxy") .to("sjms:calculator-queue?exchangePattern=InOut"); inOut() in 1) does not seem to make an

CamelSpringJUnit4ClassRunner and additional TestExecutionListeners

2013-02-09 Thread PaSik
Hello, I'm having some problems when using a pure spring-test test with CamelSpringJUnit4ClassRunner. When I add additional TestExecutionListeners with the default settings (inheritListeners=true) the listeners added by my test class apparently get added before CamelSpringTestContextLoaderTes

Re: Issue using camel-cxf-transport (2.10)

2013-02-09 Thread Taariq Levack
Charles try without the forward slashes, like so "direct:supervisor" On 08 Feb 2013, at 19:03, Charles Moulliard wrote: > Hi, > > Itry to use camel-cxf-transport but get a "No consumers available on > direct://supervisor". > > [msConsumer[supervisorworklist]] DirectProducer W

Re: Quartz triggers being deleted when shutting down Camel.

2013-02-09 Thread vishal1981
Alright. Will create a Jira for it. However I had one more question related to the same issue. If Camel would not delete the job and the trigger, how would it realize that the quartz endpoint being created is not a new one but rather a one which was defined earlier. In other words, if I had a rout

Re: Java DSL vs Spring Dsl with Splitter and Aggregator

2013-02-09 Thread Gvvenkat
Thanks for your continuing elp on this matter. I made the change of removing mock point but made no difference.. I think, the problem could be the way it is being loaded...so I am sending you my Main method for your kind reference... Please let me know, if you think the root issue could be somew

Re: SJMS and InOut

2013-02-09 Thread Claus Ibsen
On Sat, Feb 9, 2013 at 4:05 PM, Harald Wellmann wrote: > I'm rather confused by the different flavours of InOut. > > What's the difference between > > 1) from("direct:calculatorProxy") > .inOut("sjms:calculator-queue"); > > and > > 2) from("direct:calculatorProxy") > .to("sjms:calculat

Re: CamelSpringJUnit4ClassRunner and additional TestExecutionListeners

2013-02-09 Thread Claus Ibsen
Hi Yeah its a bug, though those listeners is often not used, and hence why its not seen before. As we love contributions, fell free to fix the issue and provide a patch and/or log a JIRA ticket http://camel.apache.org/contributing.html On Sat, Feb 9, 2013 at 6:20 PM, PaSik wrote: > Hello, > >