I'm a bit confused about topics(queues) and transactions. TopicConnection.createTopicSession() takes a boolean parameter 'transacted'. What this seems to mean is that any messages written to that session are not written until an explicit call by the user to the commit() method on the TopicSession.
What I want is to have the topic session enlisted in the current transaction so that the commit of that transaction will commit the messages written during the transaction. Do I just set transacted to false? If I set it to true the messages don't seem to be written, the commit() call on the session is not called when the surrounding transaction is committed. It is called from a bean with bean managed transactions and the bean does an explicit commit() of its transaction. The bean gets its transaction via InitialContext.lookup("UserTransaction"), is this wrong, should it be getting it via the bean context? thanks, brian wallis... ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user