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.3 Command: 0x0303 (close the link)<br />

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

Close the link and un-map the handle.<br />

Field Details:<br />

options: map<br />

handle: handle<br />

options map (optional)<br />

identifies the link (optional)<br />

5.12.4 node-name: vbin16 (name of the source or destination for a message)<br />

Specifies the name for a source or destination node to which messages are to be transferred to or from. Node<br />

names are expected to be human readable, but are intentionally considered opaque. The format of a node<br />

name is not defined by this specification.<br />

5.12.5 handle: uint32 (the handle of a link)<br />

An alias established by the link command and subsequently used by endpoints as a shorthand to refer to the<br />

link in all outgoing commands. The two endpoints may potentially use different handles to refer to the same<br />

link. Link handles may be reused once a link is closed for both send and receive.<br />

5.12.6 direction: uint8 (link direction)<br />

Valid values:<br />

0 (incoming)<br />

1 (outgoing)<br />

5.12.7 distribution-mode: uint32 (link distribution policy)<br />

Policies for distributing messages when multiple links are connected to the same node.<br />

Valid values:<br />

1 (destructive) once successfully transferred over the link, the message will no<br />

longer be available to other links from the same node<br />

2 (non-destructive) once successfully transferred over the link, the message is still<br />

available for other links from the same node<br />

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

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

Saved successfully!

Ooh no, something went wrong!