I am running in to an issue when using a Spring 3.0.3 JmsMessageEndpointManager with ActiveMQ 4.5.1 and Bitronix 2.1.
I attached a simple Spring context that I created to show my problem. When the transactionManager attribute is included, no messages are consumed. However, if I comment out the transactionManager property, then messages are consumed correctly. Do you have any ideas why things appears to hang when I inject the bitronix transaction manager?
Re: Bitronix With Spring JmsMessageEndpointManager
You've configured ActiveMQ as a connector which isn't supported by BTM.
What you should do instead is configure a BTM PoolingConnectionFactory, use it directly to send your messages and wrap it in a DefaultMessageListenerContainer if you need to receive messages asynchronously.