Open
Description
Gary Russell opened INT-4472 and commented
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
.