Re: Freeing objects returned by type converter

2011-01-10 Thread Willem Jiang
On 1/8/11 12:45 AM, David Tombs wrote: On Fri, Jan 7, 2011 at 10:39 AM, Claus Ibsen wrote: On Fri, Jan 7, 2011 at 4:14 PM, David Tombs wrote: On 1/7/11, James Strachan wrote: On 7 January 2011 14:51, David Tombs wrote: Hello all, I have recently started using camel and it's fantastic.

Re: Performance

2011-01-10 Thread Claus Ibsen
What version of Camel do you use? I found an issue in Camel 2.5 with the seda component. There is some special logic if you use the option multipleConsumers which is used to multicast messages to multiple consumers. And this requires thread pool in the work doing that, as its parallel processing t

errorHandler when stopping routes in test

2011-01-10 Thread John
Hi, I'm running 2.6-SNAPSHOT. I have a route builder that sets up a number of routes. One of the routes is a timer route. For my unit tests, I would like to stop the timer route so that it doesn't fire. Unfortunately when I stop the timer route, it appears to impact the overall error handler.

Re: Freeing objects returned by type converter

2011-01-10 Thread David Tombs
On Mon, Jan 10, 2011 at 5:03 AM, Willem Jiang wrote: > On 1/8/11 12:45 AM, David Tombs wrote: > > >> On Fri, Jan 7, 2011 at 10:39 AM, Claus Ibsen >> wrote: >> >> >> >>> On Fri, Jan 7, 2011 at 4:14 PM, David Tombs >>> wrote: >>> >>> On 1/7/11, James Strachan wrote: > On 7 J

RE: Performance

2011-01-10 Thread Damian Harvey
Claus, I'm using 2.5. I'll pull down the latest and try that. Is my understanding correct in that these settings should allow for this number of concurrent users? Thanks, Damian. -Original Message- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Tuesday, 11 January 2011 1:16 AM

Re: how to handle exceptions in camel

2011-01-10 Thread Richard Kettelerij
@Ramesh. Take a look at http://camel.apache.org/exception-clause.html. Using the onException() DSL you can catch some or all exceptions that are thrown in your route an handle them accordingly. -- View this message in context: http://camel.465427.n5.nabble.com/how-to-handle-exceptions-in-camel-

Re: How to query for active mq size using camel without browse all the objects?

2011-01-10 Thread Ashwin Karpe
Hi, Have you considered Virtual Queues/Topics in ActiveMQ. http://activemq.apache.org/virtual-destinations.html http://activemq.apache.org/virtual-destinations.html This should help you create a virtual queue/topic that directs the payload to 2 real queues/topics at the back. The messages can

Re: errorHandler when stopping routes in test

2011-01-10 Thread Ashwin Karpe
Hmm, this is certainly odd... I will need to do a bit of digging around on this... BTW, How do you run this... (mainline Java, Spring/JUnit, some other Container etc)... Please let me know. Cheers, Ashwin... - - Ashwin Karpe Apache C

Re: General Camel WS client concern

2011-01-10 Thread mferris
Thank you all for squashing my overall fear. I move forward with more confidence. I believe I found an example that may be faster than my specific upload and iteration (less XML) ... If I could ask, can one look at http://logicsector.wordpress.com/2008/10/19/how-to-create-a-wsdl-first-soap-clien

Re: General Camel WS client concern

2011-01-10 Thread Willem Jiang
On 1/11/11 10:36 AM, mferris wrote: Thank you all for squashing my overall fear. I move forward with more confidence. I believe I found an example that may be faster than my specific upload and iteration (less XML) ... If I could ask, can one look at http://logicsector.wordpress.com/2008/10/19