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

Claus Ibsen updated CAMEL-19155:
--------------------------------
    Fix Version/s: 3.20.3
                       (was: 3.20.4)

> Azure Service Bus component completes messages instead of abandoning on error
> -----------------------------------------------------------------------------
>
>                 Key: CAMEL-19155
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19155
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-azure
>    Affects Versions: 3.20.2
>            Reporter: Dylan Piergies
>            Priority: Major
>             Fix For: 3.20.3, 3.21.0, 4.0-M3, 4.0
>
>
> 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.



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

Reply via email to