Hi, I am trying to use Atomikos-based JTA together with Spring to use distributed transactions.
Sending messages in an atomic way works fine, as the transaction is started before sending a message via the message producer. Unfortunately, I'm unable to get asynchronous message listeners (i.e. using setMessageListener()) to work, as this will fail with "Session's XAResource has not been enlisted in a distributed transaction." in ActiveMQXASession#doStartTransaction(). Is it possible to have ActiveMQ automatically start a distributed transaction when a new message arrives or is using setMessageListener() a no-go when using JTA? Thanks in advance! Best regards, Martin -- View this message in context: http://old.nabble.com/XA-and-setMessageListener%28%29--tp28355420p28355420.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.
