camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fxthomas <felix.tho...@gmail.com>
Subject Suspend All routes & Resume incase of Business Exception
Date Mon, 01 Aug 2016 09:42:43 GMT
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.

Mime
View raw message