[rabbitmq-discuss] question, Shovel : different queue name between source and destination
Brendan Hay
brendan at soundcloud.com
Fri May 18 13:00:55 BST 2012
In fairness, I probably over complicated things by trying to be as explicit
as possible with the config.
But here is my updated gist containing a 'publish_fields' addition to
ensure the messages go to the destination exchange:
https://gist.github.com/2723964
With that adjustment, you should be able to publish a message to
'source_exchange' without a routing key, and have it turn up in
'destination_queue'.
Here are also a couple of things you can do to assist in debugging shovel
problems:
Firstly tailing the logs under /var/log/rabbitmq will show any specific
authentication/vhost errors the shovel has while starting up.
The shovel management plugin can be enabled via: rabbitmq-plugins enable
rabbitmq_shovel_management
This will let you see the status of the shovel via a tab in the management
ui.
PS. If you are running the shovel plugin as either the source or
destination for the configuration then you can specify the amqp uri as just
"amqp://".
The shovel plugin will then use guest on vhost '/' via the amqp direct
connection - this is a good. You can read more about the direct connection
here: http://www.rabbitmq.com/erlang-client-user-guide.html#model
On Fri, May 18, 2012 at 12:05 PM, bino oetomo <bino at indoakses-online.com>wrote:
> Dear Brendan
> I really appreciate your help
> On 05/18/2012 03:37 PM, Brendan Hay wrote:
>
>> Bino,
>> ...
>>
>> I've tried to outline the above in a (untested) configuration snippet
>> here:
>> https://gist.github.com/**2723964 <https://gist.github.com/2723964>
>>
>>
> I try to adopt your configuration.
> Here is my config file at http://pastebin.com/b6Z2UNqJ
>
> When I try to post msg to source broker .. got no error
> But ... some how the msg is looks like going no where
>
> I check the management GUI :
> 1. Source broker .... no ready msg in all queue
> 2. Destination broker .... no ready msg in all queue in all vhost
>
>
> Sincerely
> -bino-
>
> ______________________________**_________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.**rabbitmq.com<rabbitmq-discuss at lists.rabbitmq.com>
> https://lists.rabbitmq.com/**cgi-bin/mailman/listinfo/**rabbitmq-discuss<https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120518/ced0e528/attachment.htm>
More information about the rabbitmq-discuss
mailing list