[rabbitmq-discuss] Copy Messages across Virtual Hosts

Simon MacMullen simon at rabbitmq.com
Tue Jun 24 18:36:03 BST 2014


That would work. There isn't some special way to cross the barrier 
between virtual hosts, if that's what you were asking; you need shovel 
or federation. Or get all the apps to also access a fourth shared vhost.

Cheers, Simon

On 24/06/2014 12:41AM, W. Andrew Loe III wrote:
> I have 3 applications that communicate with the same RabbitMQ broker but
> are walled off from each other by virtual hosts. I have a special use
> case where I need to infrequently publish a message from one application
> to the other two. This worked in a previous design when all the
> application shared the same virtual host, I could have 3 queues and each
> app could message the 2 queues not associated with it. Ideally I'd like
> to have a shovel on a queue on each application virtual host and it
> would publish once to each other application, however I cannot seem to
> achieve this with the existing shovel options. Maybe I need to use a
> fanout/topic exchange with two shovels per virtual host, but this seems
> very complicated.
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>

-- 
Simon MacMullen
RabbitMQ, Pivotal


More information about the rabbitmq-discuss mailing list