[openstack-dev] [oslo.messaging]

Georgy Okrokvertskhov gokrokvertskhov at mirantis.com
Wed Sep 2 13:47:42 UTC 2015


I believe in oslo.messaging routing_key is a topic.
Here is an example for ceilometer:
https://github.com/openstack/ceilometer/blob/master/ceilometer/meter/notifications.py#L212

And here is an oslo code for rabbitMQ driver:
https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/_drivers/impl_rabbit.py#L926

Routing_key is set to topic.

Thanks
Gosha

On Tue, Sep 1, 2015 at 6:27 PM, Nader Lahouti <nader.lahouti at gmail.com>
wrote:

> Hi,
>
> I am considering to use oslo.messaging to read messages from a rabbit
> queue. The messages are put into the queue by an external process.
> In order to do that I need to specify routing_key in addition to other
> parameters (i.e. exchange and queue,... name) for accessing the queue.  I
> was looking at the oslo.messaging API and wasn't able to find anywhere to
> specify the routing key.
>
> Is it possible to set routing_key when using oslo.messaging? if so, can
> you please point me to the document.
>
>
> Regards,
> Nader.
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>


-- 
Georgy Okrokvertskhov
Architect,
OpenStack Platform Products,
Mirantis
http://www.mirantis.com
Tel. +1 650 963 9828
Mob. +1 650 996 3284
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150902/196ceb07/attachment.html>


More information about the OpenStack-dev mailing list