1) Put a message on queue1, delivery mode persistent 2) Receive the message in a transactd JMS Session 3) Call Rollback on the Session 4) Receive the message again and check the JMSRedelivered flag
JMSRedelivered is true on step 4 if JBoss remains up. But if I shutdown JBoss between step 3 and 4 and then restart it the flag gets reset to false. Other JMS providers (MQSeries, SonicMQ, WebLogic 7) persist the flag setting to the stored message. Is this a bug?