Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-19155

Azure Service Bus component completes messages instead of abandoning on error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.20.2
    • 3.20.3, 3.21.0, 4.0-M3, 4.0.0
    • camel-azure
    • None
    • Unknown

    Description

      The Azure Service Bus component currently invokes the ServiceBusReceiverAsyncClient#complete method even if an error occurs during route processing, which can result in message loss. It should invoke 
      ServiceBusReceiverAsyncClient#abandon method on error to enable Service Bus to attempt redelivery and/or dead-letter the message as per its configuration.
       
      We are currently using a dead letter error channel to work around this issue, but this solution is still not ideal, since the message could still be marked as completed if the publication to the dead letter channel fails.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dylan.piergies Dylan Piergies
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: