How to configure a queue to acknowledge(with a custom messag

Posted by nithinonpsdn on 05-Jul-2010 05:45

As and when the queue receives a message it needs to acknowledge the sender with a custom message like "SUCCESS".

Can it be done at configuration level?

All Replies

Posted by Bill Wood on 05-Jul-2010 18:06

No.  JMS does not have client-client acknowledgment.  You can ack to the broker (with CLIENT_ACKNOWLEDGMENT, Sonic's proprietary SINGLE_MESSAGE_ACKNOWLEDGEMENT, or using a commit() on a transacted session), but the original sender is unaware of this.  It is one of the design goals of JMS to disentangle the sender and receiver through a broker.

Typically, this is done by using a JMSReplyTo and having the sender send an explicit message back to this destination.

This thread is closed