I get the following error while acknowledging -
"Create a separate session if you wish to use both synchronous methods and 
asynchronous delivery simultaneously."

Probably I am getting this error because Camel Active-MQ endpoint will consume 
messages asynchronously. What's the point in having the API to set the 
acknowledgment mode on Active-MQ endpoint, if we cannot acknowledge it. Or 
probably I am doing something wrong. Please guide.

I need to handle the scenario asap.

-Narita


From: Narita Bagchi
Sent: Tuesday, July 24, 2012 5:52 PM
To: [email protected]
Subject: ActiveMQ to acknowledge asynchronously.

Hello Everybody,

Is there a way to acknowledge message to the queue, asynchronously? 
Acknowledgement mode can be set on the ActiveMQ endpoint to AutoAcknowledge or 
to ClientAcknowledge. If acknowledgement mode is set to ClientAcknowledge, from 
within a processor message can be acknowledged. Doubt is on the asynchronous 
behavior.

-Narita

________________________________
***The information transmitted is intended only for the person or entity to 
which it is addressed and may contain confidential and/or privileged material. 
Any review,retransmission,dissemination or other use of, or taking of any 
action in reliance upon, this information by persons or entities other than the 
intended recipient is prohibited. If you received this in error, please contact 
the sender and delete the material from any computer.***

Reply via email to