> Could also someone confirm me that using
>
> c.createQueueSession(false,
> Session.AUTO_ACKNOWLEDGE);
>
> to send a JMS message from within an SLSB is the
> right way to go? I've always heard that the flags had
> no importance if we were in a global transaction....
If you've looked up the connection from Glassfish's JNDI in the standard way, then yes, that's correct. The arguments to createSession() are not used when you're running in JavaEE environment: the session will join the XA transaction (whether contrainer-manager or bean-managed).
Nigel
[Message sent by forum member 'nigeldeakin' (nigeldeakin)]
http://forums.java.net/jive/thread.jspa?messageID=353173