camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "E Wong (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-9369) Acknowledge messages for RabbitMQ InOut exchange when transferring exception
Date Fri, 27 Nov 2015 04:44:10 GMT
E Wong created CAMEL-9369:
-----------------------------

             Summary: Acknowledge messages for RabbitMQ InOut exchange when transferring exception
                 Key: CAMEL-9369
                 URL: https://issues.apache.org/jira/browse/CAMEL-9369
             Project: Camel
          Issue Type: Improvement
          Components: camel-rabbitmq
    Affects Versions: 2.16.1
            Reporter: E Wong
            Priority: Minor


Currently if an exception is thrown during the processing of an InOut exchange on rabbitMQ,
and both transferException=true and autoAck=false, the exception will be transferred back
to the producer however the original message will remain unacknowledged.  If the server is
restarted, the application will attempt to reprocess the message.

I would like to propose a patch to include a basicAck in the rabbitMQ consumer in this scenario.
 I’ve chosen to use a basicAck rather than a rejection given that the exception would be
handled by the producer in this scenario and there should be no need to deadletter/requeue
the messages on rabbitmq.

More details on our setup here:
http://camel.465427.n5.nabble.com/Messages-remain-unacknowledged-when-exception-thrown-during-RabbitMQ-InOut-td5773786.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message