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

Transaction session has not rollback,causing message chaos [SPR-16765] #21306

Closed
spring-issuemaster opened this issue Apr 24, 2018 · 0 comments
Closed

Comments

@spring-issuemaster
Copy link
Collaborator

@spring-issuemaster spring-issuemaster commented Apr 24, 2018

hezhou opened SPR-16765 and commented

JmsTemplate with sessionTransacted does not call rollback method when sending message error,maybe jms provider has received this message but network time out. But then users will use this session's producer to send a new message, and commit it, which will commit all the two message.   In this situation, users will be very confused about the first error message.

why JmsTemplate does not call rollback when error , but auto call commit method when sending success.


Affects: 4.3.16

Issue Links:

  • #21305 Transaction session has not rollback,causing message chaos ("duplicates")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.