I have this scenario where I 'd like to keep a message in the queue until the
flow in my route has returned.

See explanation below:

<route>
    <from uri="jms:${queue}"/>
    <to uri="nmr:Webservice"/>
</route>

I'd like to finish processing <to uri="nmr:Webservice"/> - which means the
message is successfully sent to nmr:Webservice - before an ack is sent to my
message broker (jms:${queue}).

What acknowledgement mode will ensure an ack is only sent after camel
application returns from the <to uri="nmr:Webservice"/> call?

In the case of an exception, I believe an ack will not be sent to the
broker. Is my assumption correct?


kr.
-- 
View this message in context: 
http://old.nabble.com/JMS-Message-Acknowledgement---Persistence-in-Camel-tp28242166p28242166.html
Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.

Reply via email to