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

Endpoint A<br />

Endpoint B<br />

===============================================================<br />

...<br />

DETACH(name=..., ...) [CH3]--+ +--[CH7] DETACH(name=..., ...)<br />

(1) \ / (2)<br />

x<br />

/ \<br />

(3) (4)<br />

...<br />

---------------------------------------------------------------<br />

(1) At this point no more commands or controls may be sent<br />

by A.<br />

(2) At this point no more commands or controls may be sent<br />

by B.<br />

(3) At this point Endpoint A is fully detached from the<br />

connection.<br />

(4) At this point Endpoint B is fully detached from the<br />

connection.<br />

4.7 Session States<br />

DETACHED: In the detached state, the session endpoint is not mapped to an open<br />

Connection. In this state an endpoint cannot send or receive<br />

commands and controls.<br />

ATTACH_SENT: In the ATTACH_SENT state, the session endpoint is assigned an<br />

outgoing channel number, but there is no entry in the incoming<br />

channel map. In this state the endpoint may send commands and<br />

controls but cannot receive them.<br />

ATTACH_RCVD: In the ATTACH_RCVD state, the session endpoint has an entry in the<br />

incoming channel map, but has not yet been assigned an outgoing<br />

channel number. The endpoint may receive commands and controls,<br />

but cannot send them.<br />

ATTACHED: In the ATTACHED state, the session endpoint has both an outgoing<br />

channel number and an entry in the incoming channel map. The<br />

endpoint may send and receive commands and controls.<br />

DETACH_SENT: In the DETACH_SENT state, the session endpoint has an entry in the<br />

incoming channel map, but is no longer assigned an outgoing channel<br />

number. The endpoint may receive commands and controls, but cannot<br />

send them.<br />

DETACH_RCVD: In the DETACH_RCVD state, the session endpoint is assigned an<br />

outgoing channel number, but there is no entry in the incoming<br />

channel map. The endpoint may send commands and controls, but<br />

cannot receive them.<br />

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

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

Saved successfully!

Ooh no, something went wrong!