I didn't release, but JMS1.1 introduced JMSXDeliveryCount as an optional property.
"JMSXDeliveryCount int Provider on Receive The number of message delivery attempts; the first is 1, the second 2,..."
We need to support this and include it in the DLQ processing.
No more stupid transaction synchronization to keep track of redeliveries from
thirdparty jms providers :-)
There's some others we could easily support as well.
IIRC, I don't think JBossMQ keeps track of the user id after the connection though?