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

JmsTemplate with TransactionSession does not call rollback, while sending message error. [SPR-16850] #21390

spring-issuemaster opened this issue May 21, 2018 · 0 comments


Copy link

@spring-issuemaster spring-issuemaster commented May 21, 2018

hezhou opened SPR-16850 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 cant call rollback when error , but auto call commit method when sending success.

Affects: 4.3.17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.