Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upTransaction session has not rollback,causing message chaos [SPR-16765] #21306
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: