Hi,
I've created a demo with a spring boot application that has defined a listener to activemq broker, I can detect that the redeliveryDelay is not working when the transactionManager is available in the DefaultJmsListenerContainerFactory. I can reproduce it with atomikos and bitronix.
I've attached the project, so you can reproduce the problem.
Thxs.
Comment From: snicoll
Sorry it took so long to look at this. Your ConnectionFactory
is not XA capable so it's not enlisted as a resource when the transaction rollbacks. I can see that the session is invalidated, which explain why the redelivery is discarded.
You may find this SO question to provide more context.