On 7/21/06, Vishu <[EMAIL PROTECTED]> wrote:

I don't know whether Session and MessageProducer are thread safe. Can I send
messages (MessageProducer.send()) from multiple threads.

The JMS specification forbids it, you are meant to use the
Session/MessageProducer from one thread at once. Its not been heavily
tested but ActiveMQ would probably deal with it OK though (for
non-transacted sessions).

--

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

Reply via email to