Your browser doesn't support the features required by impress.js, so you are presented with a simplified version of this presentation.

For the best experience please use the latest Chrome or Safari browser. Firefox 10 (to be released soon) will also handle it.


(    )

It's more than just queuing...


3/7/2012

Mark Kockerbeck

Presentation Source Code

(this presentation was also done with impress.js)

History of AMQP

Basics of the Spec

Basics of the Spec

As a Sender

...I only care about the following:

As a Receiver

...I only care about the following:

The Purpose

Types

Connection

Channel

Message

Exchange

Exchange Types

Queue

Binding

Performance

AMQP Over-the-wire

Extremely easy to profile with Wireshark.
AMQP is a standard TCP wire protocol so interoperability with other systems is easy.

Management Plugin

Node Management

HTTP API

C# Examples

Hello World

Publish with a pre-determined routingKey, consumed with a queueName with the same value.
Can be durable if you want (or exclusive)

Topics

Publish with a routingKey, consumed with a queueName that matches a pattern.
Example: Imagine a message with a routingKey of: US.California.92604, now imagine a queue subscribing to US.*.* or *.California.* -- those would match the routingKey and be delivered by the Exchange.

RPC

Publish to a service with a pre-determined routingKey (i.e. GetDate). The service listening on this queue receives the message and publishes back with a routingKey the requester gave. The requester is waiting for the response to come back.

Interesting Links