Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
3.x, 4.x
-
None
-
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
- duplicates
-
CAMEL-20992 azure-service-bus component: When using RECEIVE_AND_DELETE mode, the ServiceBusConsumer onComplete and onFailure methods logs errors
- Resolved