Bugs item #792396, was opened at 2003-08-21 03:56 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=792396&group_id=22866
Category: JBossMQ Group: v3.2 Status: Open Resolution: None Priority: 5 Submitted By: Steve Waldman (swaldman) Assigned to: Nobody/Anonymous (nobody) Summary: Incorrect behavior: transactional Sessions in EJB methods Initial Comment: If a QueueSession is created in a business method of an EJB with the transacted argument of createQueueSession() set to true, JBoss fails to send the message unless the user explicitly calls commit() on the session. This is incorrect -- users should be forbidden from calling commit() or rollback(), as jboss is responsible for transaction management. According to Sun (see e.g. JMS tutorial, http://java.sun.com/ products/jms/tutorial/1_3_1-fcs/doc/jmsj2ee.html#1029338) the transacted argument should be ignored in an EJB context. My beans usually set it to true, only to document that message send is intended to be included in the method's transaction. These JMS beans break in jboss. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=792396&group_id=22866 ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development