Chexpir edited a comment 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):
   ```
   public void configure() {
           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: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to