Re: Camel stop routes and start

2015-03-17 Thread Antoine DESSAIGNE
, is it expensive ? or should I use only one ? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-stop-routes-and-start-tp5763950p5764011.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel stop routes and start

2015-03-13 Thread Willem Jiang
. I am wondering how costly is the operation of creation many camel contexts (one per customer) ? I will have around 100 camel context in my JVM, is it expensive ? or should I use only one ? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-stop-routes

Camel stop routes and start

2015-03-12 Thread majid
.465427.n5.nabble.com/Camel-stop-routes-and-start-tp5763950.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel stop routes and start

2015-03-11 Thread majid
.nabble.com/Camel-stop-routes-and-start-tp5763950p5764011.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel stop routes and start

2015-03-10 Thread harald
Hi Majid, you wrote that you stop all routes, have you tried to stop the CamelContext instead? According to [1] stopping and restarting the whole CamelContext it is performing a ‘cold’ start. That’s what I would try next. Regards, harald [1] http://camel.apache.org/lifecycle.html

Re: Camel stop routes and start

2015-03-10 Thread majid
Hi Harald, Yes, I can but I am using the same camel context for other tasks, I stop these routes and restart them when need and keep others. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-stop-routes-and-start-tp5763950p5763957.html Sent from the Camel - Users

Re: Camel stop routes and start

2015-03-10 Thread harald
Hmm .. you are stopping the route (shutdown) while processing a big XML file. A stopRoute is not like a kill (doesn’t exist - afair). Looking into the DefaultShutdownStrategy documentation might be of help. Do you see any warnings about the route shutdown within the logs?