[rabbitmq-discuss] RabbitMQ Shovel config with Alternate-Exchange

Francesco Mazzoli francesco at rabbitmq.com
Thu Aug 23 16:25:52 BST 2012


At Thu, 23 Aug 2012 14:48:20 +0000,
Kenneth Ross wrote:
> I'm trying to configure the Shovel plugin for RabbitMQ with a list of
> declarations. I have configured my remote exchange to have an
> alternate-exchange when I created it.
> My problem is that I can't get the config file for shovel to include this
> argument so RabbitMQ crashes upon startup.
> This is what my config looks like:
> [...]

`alternate-exchange' is not a field in `exchange.declare' (it's a rabbit
extension after all).  Instead, it has to be put in the `arguments':

  {'exchange.declare',[{arguments, [{<<"alternate-exchange">>, longstr, <<"alt">>}]}, ...]}

--
Francesco * Often in error, never in doubt


More information about the rabbitmq-discuss mailing list