Skip to content

Consider adding maximumDeliveries or similar to JMS message-driven adapters when JMSXRedliveryCount is available [INT-4472] #8410

Open
@spring-operator

Description

@spring-operator

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.


Reference URL: https://stackoverflow.com/questions/50413144/how-to-deal-with-jms-message-consumer-with-dups-ok-acknowledge-on-exception/50414118#comment87848285_50414118

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions