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

camel-azure-servicebus: Consumer throws exception where receive mode is RECEIVE_AND_DELETE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 3.x, 4.x
    • None
    • camel-azure
    • None
    • Unknown

    Description

      The Azure Service Bus consumer makes a call to complete messages even when the receive mode is RECEIVE_AND_DELETE. Messages do not require acknowledgement in this receive mode and the Service Bus client throws an exception when attempting to complete messages:

      java.lang.UnsupportedOperationException: 'COMPLETED' is not supported on a receiver opened in ReceiveMode.RECEIVE_AND_DELETE.

      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: