[ 
https://issues.apache.org/jira/browse/CAMEL-21091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dylan Piergies closed CAMEL-21091.
----------------------------------
    Resolution: Duplicate

> camel-azure-servicebus: Consumer throws exception where receive mode is 
> RECEIVE_AND_DELETE
> ------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-21091
>                 URL: https://issues.apache.org/jira/browse/CAMEL-21091
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-azure
>    Affects Versions: 3.x, 4.x
>            Reporter: Dylan Piergies
>            Priority: Minor
>
> 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.}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to