Chexpir commented on issue #3436:
URL: https://github.com/apache/camel-quarkus/issues/3436#issuecomment-1004864051
@JiriOndrusek Temporary working solution for me is the following (adding
sqsClient into camel Registry and explicitly adding it to the camel route):
```
camelContext.getRegistry().bind("sqsClient", sqsClient);
errorHandler(deadLetterChannel("aws2-sqs://nameoftheDLqueue?amazonSQSClient=#sqsClient")
.log("Error processing message and sending to the Dead
Letter Queue: Body: " + body())
.useOriginalMessage());
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]