Hi,

you may have a look here http://camel.apache.org/how-can-i-stop-a-route-from-a-route.html where is described how you can start / stop routes from routes.


regards Marco

Am 01.08.2016 um 11:42 schrieb fxthomas:
hello,

I wish to know which would be the best approach to Suspend and resume all
routes in the context . I saw the route policy approach but it is linked to
each route. I want a Global Context policy in which I can suspend route and
resume also .

For example if there is a DB failure all routes should suspend and my custom
code will listen for the connections being active and resume the routes
again.





--
View this message in context: 
http://camel.465427.n5.nabble.com/Suspend-All-routes-Resume-incase-of-Business-Exception-tp5785773.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to