Hi,

I had a similar problem, but figured out that jmsTemplate.receive() was opening and closing the session for me.

once the session is closed, you can't message.acknowledge(), it's too late.
...