[rabbitmq-discuss] Exchange to exchange bindings in python (pika)

Dave Curylo curylod at asme.org
Thu Aug 23 04:24:31 BST 2012


Gavin,

I get this error attempting to call channel.exchange_bind:

'BlockingChannel' object has no attribute 'exchange_bind'

This is my source:

import pika
connection =
pika.BlockingConnection(pika.ConnectionParameters(host='10.0.1.100'))
channel = connection.channel()
channel.exchange_bind(source='topicEx', destination='anotherEx',
routing_key='#')

I'm running pika version 0.9.5.
>>> pika.__version__
'0.9.5'

What am I missing that keeps me from being able to do exchange to exchange
bindings?

Thanks,
Dave

On Fri, Aug 10, 2012 at 11:27 AM, Gavin M. Roy wrote:

> Pika 0.9.5 does support this with the Channel.exchange_bind and
> Channel.exchange.unbind commands.
>
> On Friday, August 10, 2012 at 11:19 AM, Dave Curylo wrote:
>
> Has anyone got an example of performing exchange to exchange bindings in
> pika? I'm not sure this extension to AMQP has been implemented. If not,
> does anyone know of a python module that supports this?
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> 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/20120822/5b3d63f6/attachment.htm>


More information about the rabbitmq-discuss mailing list