Closed
Description
hezhou opened SPR-16487 and commented
The property acceptMessagesWhileStopping in AbstractMessageListenerContainer has defult value false, which will reject messages when shutdown and causes message lossing for AUTO_ACK.
But JMS1.1 tutorial section 4.5.2 specify :
The result of a listener throwing a RuntimeException depends on the session's
acknowledgment mode.
• AUTO_ACKNOWLEDGE - the message will be immediately redelivered.
The number of times a JMS provider will redeliver the same message before
giving up is provider dependent.
Affects: 4.3.14
Attachments:
- log.png (70.34 kB)
- sampleCode.png (47.36 kB)
Referenced from: commits d60446a, 95f7180
Backported to: 4.3.15