Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
0.32.0
-
None
-
None
Description
The JMS spec states: "The result of a listener throwing a RuntimeException depends on the session's acknowledgment mode. AUTO_ACKNOWLEDGE or DUPS_OK_ACKNOWLEDGE: the message will be immediately redelivered. ... The 'JMSRedelivered' message header field will be set, and the 'JMSXDeliveryCount' message property incremented, for a message redelivered under these circumstances."
Currently qpid-jms however is not incrementing the deliveryCount or setting the redelivered message header to true when a listener throws a runtimeexception while in AUTO_ACK.
This results in "jms.redeliveryPolicy.maxRedeliveries" being ignored and endless redelivery attempts.