On Tue, May 8, 2012 at 3:58 PM, barry_allen <coldgint...@gmail.com> wrote:
> Thank you for the example and for your insight. In my case, I have a need in
> which I have to send the ACK before processing the message. Is this
> possible?

The ways shown will send the ACK and process in parallel. eg its 2
different threads, so its up to the JVM how they get executed.
If you must ensure the ACK is send before processing, you would need
to have some flag, or something that
causes the messages to be processed afterwards.

Or just be practical and add a delay before processing  the message,
assuming the ACK is sent back in between.



>
> Thank you
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/How-to-send-ack-and-then-resume-route-with-original-message-tp5692336p5694685.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to