CAMEL-20085: aws2-sqs - catch any SdkException when deleting message#11938
CAMEL-20085: aws2-sqs - catch any SdkException when deleting message#11938oscerd merged 1 commit intoapache:mainfrom
Conversation
|
🌟 Thank you for your contribution to the Apache Camel project! 🌟 🤖 CI automation will test this PR automatically. 🐫 Apache Camel Committers, please review the following items:
|
Before this change, the exception would be logged in UnitOfWorkHelper which catches any Throwable as the last option. The proper solution is to catch it already in the consumer and let it be handled by the exception handler.
34c1337 to
f4893ea
Compare
|
@simon-ras can you backport on 4.0.x and check on 3.21.x and 3.x? Thanks |
I'm not actually sure that this is worth back-porting. There is nothing functionally changed from commit. What do you think? |
|
ah yes, this is categorized as improvement. No need to backport. Thanks for checking. |
Description
Before this change, the exception would be logged in UnitOfWorkHelper which catches any Throwable as the last option. The proper solution is to catch it already in the consumer and let it be handled by the exception handler.
Target
camel-3.x, whereas Camel 4 uses themainbranch)Tracking
Apache Camel coding standards and style
mvn clean install -DskipTestslocally and I have committed all auto-generated changes