Transactions and Non-Persistent Messages

During transaction recovery, non-persistent messages might be lost.
If the broker fails between the transaction manager’s prepare and commit
operations, any non-persistent message in the transaction is lost and cannot
be delivered. A message that is not saved to a persistent store is not available
for transaction recovery.