users@glassfish.java.net

Re: why isn't my JMS session transacted if session = createSession(true, ?

From: <glassfish_at_javadesktop.org>
Date: Mon, 07 Jan 2008 19:44:32 PST

Please refer to Java EE 5 tutorial
http://docs.sun.com/app/docs/doc/819-3669/6n5sg7cjl?a=view

Sun Java System Application Server 9.1 Update 1 >> The Java EE 5 Tutorial >> Services >> 31. The Java Message Service API >> Using the JMS API in a Java EE Application >> Managing Distributed Transactions

"When you create a session in an enterprise bean, the container ignores the arguments you specify, because it manages all transactional properties for enterprise beans. It is still a good idea to specify arguments of true and 0 to the createSession method to make this situation clear:"

-Ramesh
[Message sent by forum member 'rampsarathy' (rampsarathy)]

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