[rabbitmq-discuss] Using RabbitMQ as Messaging Exchange
alexis.richardson at cohesiveft.com
Sat Aug 23 17:05:40 BST 2008
On Sat, Aug 23, 2008 at 12:31 PM, Pete Kay <petedao at gmail.com> wrote:
> I have a series of load-balanced clustered servers and they all publish
> events in the form of text messages. I am looking for using RabbitMQ to
> listen on event messages from all the clustered servers and then publish it
> out to subscribed clients.
> Is this something that RabbitMQ good at doing?
Absolutely - yes.
RabbitMQ has a model based on queues, which buffer (and optionally
persist) messages on behalf of subscribers. So when you publish a
message to a RabbitMQ broker, it will be placed on one or more queues
based on really simple filtering rules:
- In the simplest case you can copy a message to *every* queue in the
broker. This is called 'fan out'.
- Or, you can give each message a 'routing key', and then the broker
will use this key to determine which queues to place the message on
- You can also enable richer routing patterns
We're here to help so please can you tell us a bit more about what
kind of 'subscribed clients' you plan to use. Also - what language
are you writing your code in? There are plenty of clients but it
would be good to know which one you wish to use.
> I am new to RabbitMQ. Any suggestion will be greatly appreciated.
There is some documentation here: http://www.rabbitmq.com/documentation.html
Here is an introduction that may help:
> Best Regards,
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
More information about the rabbitmq-discuss