There is acknowledgementModeName option in the camel-jms component, you can set it to be CLIENT_ACKNOWLEDGE, then you can do what you want to do :)

On 4/4/11 10:27 PM, ctapobep wrote:
When I receive a JMS message, I want to check it whether it's valid:
  - if it is, then I want to send acknowledgement to the replyTo and to
continue the workflow
  - if it's not valid, then I want to send back an error and stop the chain
of execution
What mechanism in Camel would you advise? Seems like interceptors are a good
choice to implement what I want.

--
View this message in context: 
http://camel.465427.n5.nabble.com/Acknowledgement-mechanism-tp4281845p4281845.html
Sent from the Camel - Users mailing list archive at Nabble.com.



--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
         http://jnn.javaeye.com (Chinese)
Twitter: willemjiang

Connect at CamelOne May 24-26
The Open Source Integration Conference
http://camelone.com

Reply via email to