# transaction rollback

    transaction rollback XID

Rolls back the transaction identified by the transaction ID. The transaction must be in the `ended`, `rollback only`, or the `prepared` state. To obtain a transaction ID, issue the show transactions command, and cut and paste the XID into this command.

Note: Messages sent to a queue with `prefetch=none` and `maxRedelivery=`number properties are not received number times by an EMS application that receives in a loop and does an XA rollback after the XA prepare phase.
Copyright © Cloud Software Group, Inc. All rights reserved.