27.01.2014 Views

AMQP Specification Transport

AMQP Specification Transport

AMQP Specification Transport

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

Link<br />

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

M1 <br />

- or -<br />

FLOW(link=N, limit=null) ----><br />

stop: FLOW(link=N, limit=rcvd) ----><br />

M: Message Transfer<br />

5.6 Synchronous Get<br />

A synchronous get of a message from a link is accomplished by incrementing the limit, sending a FLOW,<br />

and waiting indefinitely for a message to arrive.<br />

Peer<br />

Partner<br />

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

...<br />

FLOW(handle=1, ----------><br />

limit=xfrs-rcvd+1) +---- TRANSFER(handle=2, ...)<br />

*block until xfr arrives* /<br />

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

Saved successfully!

Ooh no, something went wrong!