I tried setting an acknowledge mode, but that doesn't seem to help.
This is my tomee.xml snippet in which I configure the message queue:
<Resource id="JmsResourceAdapter" type="ActiveMQResourceAdapter"/>
<Resource id="XAConnectionFactory" type="javax.jms.ConnectionFactory">
ResourceAdapter JmsResourceAdapter
TransactionSupport xa
PoolMinSize 0
PoolMaxSize 10
</Resource>
<Resource id="MailQueue" type="javax.jms.Queue">
Destination MailQueue
</Resource>
I'm trying to use XA transactions.
--
View this message in context:
http://tomee-openejb.979440.n4.nabble.com/Tomee-throws-Not-a-transacted-session-tp4673029p4673031.html
Sent from the TomEE Users mailing list archive at Nabble.com.