I'm trying to send a message inside a transaction to a queue using a JmsTemplate which uses a XAConnectionFactory wrapped with XAConnectionFactoryWrapper#wrapConnectionFactory and pooling enabled, but I have an Exception:
org.springframework.jms.connection.SynchedLocalTransactionFailedException: Local JMS transaction failed to commit; nested exception is javax.jms.IllegalStateException: The session has already been closed
I have a demo project to reproduce this behavior here
I'm trying to send a message inside a transaction to a queue using a JmsTemplate which uses a XAConnectionFactory wrapped with
XAConnectionFactoryWrapper#wrapConnectionFactory
and pooling enabled, but I have an Exception:I have a demo project to reproduce this behavior here