27.01.2014 Views

AMQP Specification Transport

AMQP Specification Transport

AMQP Specification Transport

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>AMQP</strong> <strong>Specification</strong>.<br />

Session<br />

4.13.2 Command: 0x0205 (associate the current transactional work with a distributed<br />

transaction)<br />

Signature: enlist( options: map, xid: xid, join: bit, resume: bit )<br />

Associates the current transactional unit of work with the distributed transaction identified by the supplied<br />

xid.<br />

Field Details:<br />

options: map<br />

options map (optional)<br />

xid: xid<br />

join: bit<br />

resume: bit<br />

Transaction xid (required)<br />

Specifies the xid of the transaction branch in which to enlist.<br />

Join with existing xid flag (optional)<br />

Indicate whether this is joining an already associated xid. Indicate that the enlist applies to<br />

joining a transaction previously seen.<br />

Resume flag (optional)<br />

Indicate that the enlist applies to resuming a suspended transaction branch.<br />

Exceptions:<br />

illegal-state illegal-state (4009)<br />

If the command is invoked in an improper context then the server MUST send a session<br />

exception.<br />

already-known not-allowed (5030)<br />

If neither join nor resume is specified is specified and the transaction branch specified by xid<br />

has previously been seen then the server MUST raise an exception.<br />

join-and-resume not-allowed (5030)<br />

If join and resume are specified then the server MUST raise an exception.<br />

xa-rbrollback xa-rbrollback (6001)<br />

The broker marked the transaction branch rollback-only for an unspecified reason.<br />

xa-rbtimeout xa-rbtimeout (6002)<br />

The work represented by this transaction branch took too long.<br />

unknown-xid not-allowed (5030)<br />

If xid is already known by the broker then the server MUST raise an exception.<br />

unsupported not-implemented (5040)<br />

If the broker does not support join the server MUST raise an exception.<br />

<strong>AMQP</strong> <strong>Transport</strong> v. 1-0 Page 37 of 83

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!