Description
I'm using AcknowledgementMode.Transactional mode and have set the max redeliveries to 15. If I create a message rolling back each time the listener delegate recieves it, wait 10 seconds, then the message is redelivered 10 times. I then dispose the session and the message is still in the queue marked redelivered as expected.
Then establishing a new session with max redeliveries set to 15 again, when recieving the message the logic again rolls back on the session when the message comes through. The message is redelivered only once. For a total of 11 times and is deleted from the queue. I would expect it to be redelivered a total of 15 times.