3.1.1.13 TransactionalOperation

A TransactionalOperation ADM element associates a transactional Enqueue, Dequeue or Move operation with a reference to the MessagePosition (section 3.1.1.11) ADM element instance to be affected by the transaction. This ADM element MUST contain the following persistent ADM attributes:

OperationType: An enumeration that specifies the type of operation to be performed. This MUST contain one of the following values:

  • Enqueue

  • Dequeue

  • Move

MessagePositionReference: A reference to a MessagePosition ADM element instance in the MessagePositionList ADM attribute of a Queue (section 3.1.1.2) ADM element instance.

TargetQueueReference: A reference to the target queue for the Move operation. This argument MUST be supplied if the OperationType ADM attribute value is Move.

DequeueReason: One of the enumerated values for the Class ADM attribute of the Message (section 3.1.1.12) ADM element. This attribute MUST be supplied if the OperationType ADM attribute value is Dequeue; otherwise, it is undefined.