On 2/10/07, MqUser <[EMAIL PROTECTED]> wrote:

If one want to send a message and not move forward (be blocked) until
confirmation arrives that the call completed on the other side, can that be
done with activemq?

By default if you are sending persistent messages, the send() method
will block until your message has been persisted in the broker.

An alternative is to use a JMS transaction and the commit() call will
complete when the broker has completed the atomic operation (this
works for any number of sends & receives)
--

James
-------
http://radio.weblogs.com/0112098/

Reply via email to