You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Dylan Piergies (Jira)" <ji...@apache.org> on 2023/03/15 13:36:00 UTC
[jira] [Created] (CAMEL-19155) Azure Service Bus component completes messages instead of abandoning on error
Dylan Piergies created CAMEL-19155:
--------------------------------------
Summary: 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
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)