So why doesn't this code create a transacted JMS session within my session bean?
I've tried setting the connection factory to both XA Transaction and Local Transaction, but when I getTransacted() it is always false.
I'm using the Glassfish MQ.
@Resource(name = "jms/HubFactory")
private ConnectionFactory connectionFactory;
...
session = connection.createSession(true, Session.SESSION_TRANSACTED);
System.err.println("transacted = " + session.getTransacted());
prints:
transacted = false
[Message sent by forum member 'frenchdrip' (frenchdrip)]
http://forums.java.net/jive/thread.jspa?messageID=252631