[rabbitmq-discuss] Shovel on default virtual-host!

Gabriele Santomaggio g.santomaggio at gmail.com
Mon Dec 31 14:37:41 GMT 2012


Hello,
I use this file:
https://github.com/rabbitinaction/sourcecode/blob/master/configs/rabbitmq/rabbitmq.config.shovel
So,it doesn't wok  on my installation (two debian-6 with rabbitmq 3.0.1).

I had to add "%2f” on [{broker, "amqp://guest:guest@localhost:5672/%2f"}
and now it works.

Without "%2f" I get this error:
{amqp_error,access_refused,"access to vhost '' refused for user
'shovel'",'connection.open'}}

I have read the amqp-uri spec here:
http://pubs.vmware.com/vfabric52/index.jsp?topic=/com.vmware.vfabric.rabbitmq.2.8/rabbit-web-docs/uri-spec.html

Could be an error?  Or  some configuration changed with the release
RabbitMQ 3.0 ?

Thank you!


------------------------ my file -----------------------------

{rabbitmq_shovel,
       [{shovels,
         [{avocado_order_shovel,
           [{sources,      [{broker, "amqp://guest:guest@localhost
:5672/%2f"},
                            {declarations,
                               [{'queue.declare',
                                       [{queue,
<<"backup_orders">>},durable]},
                                {'exchange.declare',
                                       [{exchange, <<"incoming_orders">>},
                                        {type, <<"direct">>},durable]},
                                {'queue.bind',
                                    [{exchange, <<"incoming_orders">>},
                                     {queue, <<"backup_orders">>},
                                     {routing_key, <<"warehouse">>}]}
                               ]}]},
            {destinations, [{broker, "amqp://guest:guest@debianSlave:5672"},


------------------------------------------------------------

-- 
Gabriele Santomaggio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20121231/8131aa32/attachment.htm>


More information about the rabbitmq-discuss mailing list