Exception while calling the ProducerTemplate.start() and stop() in a multi-thread code.

2015-10-19 Thread Shylendran C
I have a multi-threaded application where I have to send message continuously and I am using ProducerTemplate. But since it is a multi-threaded, it is breaking and getting the below exceptions. So, I've tried with 'static' where everything is working, but we can't go with static. So looking for a s

org.apache.camel.ProducerTemplate in a Multi-thread code - Breaking, need help...

2015-10-19 Thread Shylendran C
I have a multi-threaded application where I have to send message continuously and I am using org.apache.camel.ProducerTemplate. But since it is a multi-threaded, it is breaking and getting the below exceptions. So, I've tried with 'static synchronized' where everything is working, but we can't go w

Re: ProducerTemplate creates too much threads

2015-10-20 Thread Shylendran C
Thanks for your reply. So, just want to confirm - no need to put the start() and stop() for each thread, is that correct? And, our application will be running for ever (untill we manually kill the process), so I am not sure where to put the stop() method. Any suggestions? Thanks again, Shylendran

Need help on this: Exception occurred during execution on the exchange: Exchange[Message: ]

2015-10-23 Thread Shylendran C
Hi I would like to know in which scenario are we expecting the below exception, and how to prevent this. My application was running for a day , and suddenly I see this. So trying to understand the root cause. Exception occurred during execution on the exchange: Exchange[Message: ] Jar files that