Does camel support timeout on route level
Issue
-
Is it possible to set a timeout on a route level?
For instance, if there is a route like the following:
Get from MQ -> Transform Data -> Call web service -> Transform response -> Put to MQIs there a way to say, "If the whole route takes longer than x ms, throw an exception"?
-
Can I use transaction timeout to achieve my goal?
For instance, if I make a route transacted, I could set a transaction timeout and then throw a timeout exception if it takes too long.
Environment
- Red Hat JBoss Fuse 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.