The message was not redelivered 6 times (the default value) and it went into DLQ using TransactionErrorHandler in camel

Solution Unverified - Updated -

Issue

  • Out code logic says that while calling another internal application when an exception is thrown then it stops the calling route. The shutdown strategy has been overridden with 5 sec of shutdown time.

  • The scenario that was reproduced looked like the route couldn't stop completely and the message exhausted the redelivery so it went into DLQ.

  • We have not configured an tranasaction route policy and the default redelivery of the exchange should be done 6 times. But before that, the message is sent to the DLQ. Do you have an example to demonstrate how TransactionErrorHandler works ?

Environment

  • Red Hat JBoss Fuse
    • 6.x
  • Apache Camel

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.