[ 
https://issues.apache.org/jira/browse/CAMEL-12652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16581001#comment-16581001
 ] 

Claus Ibsen commented on CAMEL-12652:
-------------------------------------

You should not use receiveBody as then the Camel exchange is done. If you want 
to manual ack a message then you need to use receive, and then do the manual 
ack and done the exchange, see the javadoc of consumer template and on these 
receive methods on the consumer template api.

> Acknowledgement in RabbitMQ and Camel
> -------------------------------------
>
>                 Key: CAMEL-12652
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12652
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-rabbitmq
>    Affects Versions: 2.21.1
>            Reporter: Ajay C
>            Priority: Major
>
> Currently, RabbitMQ component is auto acknowledging the message as soon as 
> camel reads it. I would like acknowledge the consumption of the message only 
> if i am successful in processing the message after the consumption. Can you 
> please add Manual ack feature in camel-rabbitmq.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to