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 />

Link<br />

5.12.9 Command: 0x0305 (drain the link of immediately available transfers and stop it)<br />

Signature: drain( options: map, handle: handle )<br />

This command causes any immediately available message transfers to be sent up to the pre-existing transfer<br />

limit. If the number of immediately available message transfers is insufficient to reach the pre-existing<br />

transfer limit, the transfer limit is reset to the sent transfer count. When this command completes, the transfer<br />

limit will always equal the sent transfer count.<br />

Field Details:<br />

options: map<br />

options map (optional)<br />

handle: handle<br />

Identifies the link to be drained.<br />

the link handle (required)<br />

5.13 Transfer States<br />

START: The message has yet to be sent to the recipient.<br />

TRANSFERRING: The message has been partially sent to the recipient, but is not yet<br />

acquired.<br />

ACQUIRED: The message has been sent to and acquired by the recipient.<br />

PARKED: The message is held by the outgoing end of the link until unparked.<br />

END: The transfer is complete.<br />

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

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

Saved successfully!

Ooh no, something went wrong!