Re: JTA Transaction in a MessageListener

2016-05-07 Thread Alexis Hassler
Thanks for your answer Martyn. Really useful. Alexis http://www.jtips.info, http://blog.alexis-hassler.com 2016-05-05 16:22 GMT+02:00 Martyn Taylor : > Hi Alexis, > > The onMessage() method (when invoked outside of an container) would be > called outside the boundaries

Re: JTA Transaction in a MessageListener

2016-05-05 Thread Martyn Taylor
Hi Alexis, The onMessage() method (when invoked outside of an container) would be called outside the boundaries of a transaction. I see you are using XASession in the test you provided. When onMessage() is called, and a message consumed, with an XASession, it would be done so with an ack mode eq