users@glassfish.java.net

Re: EJB3 Observer pattern

From: <glassfish_at_javadesktop.org>
Date: Tue, 19 Feb 2008 10:53:35 PST

The problem is that submitting a message to the JMS queue IS the transaction, not the processing of the message. So you can consume JMS messages, from several queues, update several databases, and creates new JMS messages, all in a single transaction, but the actual processing of those message that you transmitted are outside the scope of your transaction.
[Message sent by forum member 'whartung' (whartung)]

http://forums.java.net/jive/thread.jspa?messageID=259719