<div dir="ltr"><div>Hello,</div><div>I use this file: <a href="https://github.com/rabbitinaction/sourcecode/blob/master/configs/rabbitmq/rabbitmq.config.shovel">https://github.com/rabbitinaction/sourcecode/blob/master/configs/rabbitmq/rabbitmq.config.shovel</a></div>
<div>So,it doesn't wok on my installation (two debian-6 with rabbitmq 3.0.1).</div><div> </div><div>I had to add "%2f” on [{broker, "amqp://guest:guest@localhost:5672/%2f"} and now it works.</div><div>
<br></div><div>Without "%2f" I get this error:</div><div>{amqp_error,access_refused,"access to vhost '' refused for user 'shovel'",'connection.open'}} </div><div><br></div><div>
I have read the amqp-uri spec here:</div><div><a href="http://pubs.vmware.com/vfabric52/index.jsp?topic=/com.vmware.vfabric.rabbitmq.2.8/rabbit-web-docs/uri-spec.html">http://pubs.vmware.com/vfabric52/index.jsp?topic=/com.vmware.vfabric.rabbitmq.2.8/rabbit-web-docs/uri-spec.html</a></div>
<div><br></div><div>Could be an error? Or some configuration changed with the release RabbitMQ 3.0 ?</div><div><br></div><div>Thank you!</div><div><br></div><div><br></div><div style>------------------------ my file -----------------------------</div>
<div><br></div><div><div>{rabbitmq_shovel,</div><div> [{shovels,</div><div> [{avocado_order_shovel,</div><div> [{sources, [{broker, "amqp://guest:guest@localhost:5672/%2f"},</div><div>
{declarations,</div><div> [{'queue.declare',</div><div> [{queue, <<"backup_orders">>},durable]},</div>
<div> {'exchange.declare',</div><div> [{exchange, <<"incoming_orders">>},</div><div> {type, <<"direct">>},durable]},</div>
<div> {'queue.bind',</div><div> [{exchange, <<"incoming_orders">>},</div><div> {queue, <<"backup_orders">>},</div>
<div> {routing_key, <<"warehouse">>}]}</div><div> ]}]},</div><div> {destinations, [{broker, "amqp://guest:guest@debianSlave:5672"},</div>
</div><div><br></div><div><br></div><div>------------------------------------------------------------</div><div><br></div>-- <br>Gabriele Santomaggio
</div>