Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-4472

Consider adding maximumDeliveries or similar to JMS message-driven adapters when JMSXRedliveryCount is available

    XMLWordPrintable

    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.

        Attachments

          Activity

            People

            Assignee:
            grussell Gary Russell
            Reporter:
            grussell Gary Russell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: