2
votes

I have a RabbitMQ server which receives messages to an exchange within a virtual host called "ce_func", this exchange is bound to a queue called "azure_trigger".

I'd like to use Azure Functions new RabbitMQ binding to collect from Rabbit. Unfortunately, this is limited to collecting only from virtual host '/' . I was hoping that I could use Rabbit's federation functionality to automatically route to an "azure_trigger" queue within the "/" virtual host of the same server but so far I've failed.

I created a Rabbit "upstream" and "policy" applied to that upstream but I can't figure out the configuration. I have a Federation Status of "Running" but it's only checking the "ce_func" virtual host, I can't see where I can set the target exchange as the "/" virtual host.

Does anyone have any pointers please?

enter image description here

enter image description here

enter image description here

1
There's no way to adjust the connection parameter to use a different vhost? This seems like a pretty severe limitation... have you tried changing the URI of the connection?? - theMayer

1 Answers

0
votes

If I understand correctly, you want to deliver message between queues in different vhosts.

RabbitMQ community recommend to use Shovel plugin to handle this situation:

The source and destination can be on the same broker (typically in different vhosts) or distinct brokers.