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

An <strong>AMQP</strong> network consists of message endpoints and intermediaries. Message endpoints are applications<br />

that produce or consume messages. Message intermediaries store and distribute messages as they travel<br />

between endpoints on the <strong>AMQP</strong> network.<br />

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

/ MI1 \ / MI2 \<br />

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

| | | | ...<br />

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

/|\ /|\ /|\ /|\ /|\ /|\<br />

| | | | | |<br />

| | | | | |<br />

| | | | | |<br />

\|/ \|/ \|/ \|/ \|/ \|/<br />

ME1 ... ME2<br />

ME3 ... ME4<br />

MI: Message Intermediary <br />

ME: Message Endpoint <br />

Messages may be sent to and/or from an <strong>AMQP</strong> Node. A producer sends messages to a node; a consumer<br />

requests that some or all messages be sent from a node. Message intermediaries then determine how to<br />

distribute messages by matching producer messages to consumer interest.<br />

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

/ MI1 \ - - - - - - - - - | ME3 wants messages from A |<br />

M(to=A) +-------------+ M(to=B) | |<br />

ME2 ---------> | |

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

Saved successfully!

Ooh no, something went wrong!