[rabbitmq-discuss] Upgrading of RabbitMq clusters connected with federation plugin from 2.8.7 to version 3.1.0
Matthias Radestock
matthias at rabbitmq.com
Mon Oct 21 19:30:46 BST 2013
On 21/10/13 19:11, Viraj Gupte wrote:
> This is the configuration of shovel plugin I wish to run on Rabbitmq
> 2.8.7. The ip address of the machine that declares the shovel plugin is
> 10.33.32.130.
> [
> {kernel, [{inet_dist_listen_min, 4001}, {inet_dist_listen_max, 4004}]},
> {rabbitmq_shovel,
> [ {shovels, [ {MQ_shovel,
> [ { sources,
> [{broker, "amqp://"}
> ]}
>
> ,{destinations,
> [ {broker, "amqp://10.33.32.131:5672
> <http://10.33.32.131:5672>"}
> ]}
> ,{queue,<<"outbound.q">>}
> ,{prefetch_count,10}
> ,{ack_mode,on_confirm}
> ,{publish_properties,[{delivery_mode,2}]}
> ,{reconnect_delay,5}
> ]}
>
> ]}
> ]}
>
> ].
>
>
> As soon as I try to start the server after configuration, I get this
> error in logs:
> {"could not start kernel pid",application_controller,"error in config
> file \"/etc/rabbitmq/rabbitmq.config\" (1): bad term"}
Run 'erl' and copy&paste your config into it. That will tell you the
following:
* 4: variable 'MQ_shovel' is unbound
In Erlang, atoms must start with a lower-case letter, or otherwise be
quoted.
Matthias.
More information about the rabbitmq-discuss
mailing list