Details
-
Type:
Improvement
-
Status: Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: 5.2 Backlog
-
Component/s: JMS Support
-
Labels:None
Description
From the SO discussion:
OP: camel has a concept of maximumRedeliveries on exception, i thought there is something in spring integration that i missed. GR: With Spring Integration you would have to add .errorChannel(someErrorChannel()) to the adapter, and check the delivery count in the payload.failedMessage.headers and either re-throw or consume/log the failure. We could consider adding built-in support for when the broker does provide that header. I'll open a JIRA issue.
Perhaps only valid if there is no errorChannel.