On Tue, May 8, 2012 at 3:50 PM, sekaijin <jean-yves.terr...@sap.aphp.fr> wrote:
> I'm use
>
> from mina
> .doTry
>  .process message
>  .inOnly jsm:queue //send to backbone
>  .bean prepare ACK
> .doCatch
>  .bean prepare NACK
> .end
>
> with this method I'm sure the message is persisted in the JMS queue before
> sending an ACK
> if the route raise an error, a NACK is returned
>

Yep this is also a good solution. It requires a JMS broker as the exchange.
You can use a SEDA endpoint as well.

And the try .. catch is simular to regular coding so thats
understandable for others as well.


> A+JYT
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/How-to-send-ack-and-then-resume-route-with-original-message-tp5692336p5694522.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