According to JBMESAGING-526, if you receive a message and rollback it...
Later on you receive the same message again in a different session, redelivery flag is not set.
I have a question thoguth. When you call rollback explicitaly, shouldn't the message be sent back to the queue as the message never left the queue?
I thought a redelivery flag would be set to true in case of failures, say a socket connection broken, or some other issue.
Talked to Tim Fox...
A redelivery flag should be set to true any time a message is redelivered.
It doesn't matter if it happened because a rollback or a failure.