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 CachingConnectionFactory does not refresh resources, while sending message error. This may causes message loss [SPR-16629] #21170

Open
spring-issuemaster opened this issue Mar 23, 2018 · 0 comments

Comments

@spring-issuemaster
Copy link
Collaborator

@spring-issuemaster spring-issuemaster commented Mar 23, 2018

hezhou opened SPR-16629 and commented

JmsTemplate with CachingConnectionFactory does not refresh resources, while sending message error.
For example ,due to networking issues or server issues the server may take longer to answer than expected.. the client may timeout the call throwing an exception and the client could eventually retry another call with the same session, but the server could then answer a previous command. This may cause message loss.

DefaultMessageListener will renew the resource while receiveMessage error. why JmsTemplate not do like this.


Affects: 4.3.14

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.