[rabbitmq-discuss] can I do cascade routing in rabbitmq?

Matthew Sackman matthew at rabbitmq.com
Tue Aug 31 20:56:24 BST 2010


On Tue, Aug 31, 2010 at 10:44:47PM +0300, Ovidiu Deac wrote:
> The current implementation is done using two topic exchanges a queue
> and a client which takes messages from the queue and publishes them
> into the second exchange. Is it possible to do this by routing rules
> only so I don't need to write any client code?

Not by routing rules alone, but you can use the shovel for this purpose
which has the advantage of being embeddable within the same Erlang VM as
Rabbit itself, thus avoid the TCP stack.

See http://www.rabbitmq.com/plugins.html and
http://hg.rabbitmq.com/rabbitmq-shovel/file/rabbitmq_v2_0_0/README

Matthew


More information about the rabbitmq-discuss mailing list