Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RedeliveryDelay not working in ActiveMQ listeners when transactionManager is present #23688

Closed
ceremo opened this issue Sep 24, 2019 · 1 comment
Labels
in: messaging Issues in messaging modules (jms, messaging) status: invalid An issue that we don't feel is valid

Comments

@ceremo
Copy link

ceremo commented Sep 24, 2019

demoJms.zip

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.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Sep 24, 2019
@rstoyanchev rstoyanchev added the in: messaging Issues in messaging modules (jms, messaging) label Nov 12, 2021
@snicoll
Copy link
Member

snicoll commented Nov 23, 2023

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.

@snicoll snicoll closed this as not planned Won't fix, can't repro, duplicate, stale Nov 23, 2023
@snicoll snicoll added status: invalid An issue that we don't feel is valid and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: messaging Issues in messaging modules (jms, messaging) status: invalid An issue that we don't feel is valid
Projects
None yet
Development

No branches or pull requests

4 participants