.465427.n5.nabble.com/Camel-stop-routes-and-start-tp5763950.html
Sent from the Camel - Users mailing list archive at Nabble.com.
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
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
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?
.nabble.com/Camel-stop-routes-and-start-tp5763950p5764011.html
Sent from the Camel - Users mailing list archive at Nabble.com.
amel.465427.n5.nabble.com/Camel-stop-routes-and-start-tp5763950p5764011.html
>
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
mel
> 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-and-start-tp5763950p5764011.html
> > Sent from the Camel - Users mailing list archive at Nabble.com.
> >
>
>