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

Consider rewording ack modes on the listener container javadocs [SPR-12705] #17302

Closed
spring-issuemaster opened this issue Feb 10, 2015 · 0 comments

Comments

Projects
None yet
2 participants
@spring-issuemaster
Copy link
Collaborator

commented Feb 10, 2015

Gary Russell opened SPR-12705 and commented

"sessionAcknowledgeMode" set to "AUTO_ACKNOWLEDGE" (default): Automatic message acknowledgment before listener execution; no redelivery in case of exception thrown.
...

While a following sentence says...

The exact behavior might vary according to the concrete listener container and JMS provider used.

...this might be confusing (as has been proved to be - see the SO question) to users because it is contrary to the standard JMS behavior, as exhibited by the SMLC.

The SMLC also says...

See the AbstractMessageListenerContainer javadoc for details on acknowledge modes and transaction options.

...and also does not explicitly explain that AUTO_ACKNOWLEDGE works in the standard JMS way.


Affects: 3.2.13, 4.1.4

Reference URL: http://stackoverflow.com/questions/28426467/difference-between-auto-acknowledgement-mode-with-and-without-spring-jms

Issue Links:

  • #17644 Remoting over JMS with receiveTimeout blocks service forever

Referenced from: commits c1a9e34, 91c47a9, 1c10861

Backported to: 3.2.14

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