Does camel support timeout on route level

Solution In Progress - Updated -

Issue

  1. 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 MQ
    

    Is there a way to say, "If the whole route takes longer than x ms, throw an exception"?

  2. 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content