I haven't used that shovel yet, but do you need to set the vhost to /vtest rather then vtest?<div><br></div><div>I'm not sure if it's stripping the / or not.</div><div><br></div><div>Scott Brooks<br><br><div class="gmail_quote">
On Wed, Apr 21, 2010 at 6:46 PM, Mark Lin <span dir="ltr"><<a href="mailto:mlin@admob.com">mlin@admob.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Wanted to get shovel to work, but am getting<br>
<br>
{amqp_error,access_refused,<br>
"access to vhost 'vtest' refused for user 'shovel'",<br>
'connection.open'}}<br>
<br>
from the rabbit server.<br>
<br>
I am sure the username and password are correct. From the bql security document, <a href="http://www.rabbitmq.com/rabbitmq-bql.html#bql-security-rules" target="_blank">http://www.rabbitmq.com/rabbitmq-bql.html#bql-security-rules</a>, showing the exact same error, it seems that I HAVE to use bql to grant permission to amq.default(which doesn't actually exist on the OSX 1.7.0 build of rabbitmq). Instead of trying to get bql to work, I want to make sure I am heading toward the right direction. Would appreciate any pointer from folks who have it working.<br>
<br>
<br>
By the way, the version of rabbitmq-shovel I downloaded via hg has a few parameter modifications differ from given example in the blog:<br>
<br>
>From rabbitmq-shovel/src/rabbit_shovel_sup.erl<br>
reconnect becomes reconnect_delay<br>
qos becomes prefetch_count<br>
<br>
And this is not a valid parameter:<br>
{delivery_mode, keep},<br>
<br>
<br>
Thanks,<br>
Mark<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
</blockquote></div><br></div>