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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.