[rabbitmq-discuss] Federation help
Simon MacMullen
simon at rabbitmq.com
Tue Nov 29 11:01:25 GMT 2011
On 28/11/11 19:17, James Aimonetti wrote:
> My app will be running in environments that aren't necessarily
> federated, which is why I have my app declaring the exchanges on
> startup. Do you have recommendations for how to handle this? If
> federation is not enabled, and i declare the exchange as
> 'x-federation' with type='direct' in the args, will RabbitMQ know to
> declare the exchange as direct and not federated?
Ah, no.
Probably the best thing to do is require the federation plugin to always
be installed, and in the non-federated environments declare your
upstream_set(s) empty. This does require a bit of configuration on the
non-federated environments though. I'll have a think about whether this
can be improved.
> As for the amqp_client/ERL_LIBS issue, I installed via tarball. Not
> sure why starting up didn't have plugins/ in the code path. I'll
> check the installed Erlang lib and see if a conflicting version made
> it in there.
Thanks.
Cheers, Simon
--
Simon MacMullen
RabbitMQ, VMware
More information about the rabbitmq-discuss
mailing list