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

Matthias Radestock matthias at rabbitmq.com
Wed Sep 5 11:56:22 BST 2012


Dave,

apologies for the late response...

On 23/08/12 04:24, Dave Curylo wrote:
> 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?

There's no mention of exchange_bind in the pika docs, though if Gavin 
says that it's supported then presumably it is. And looking at the code 
on github, that does indeed appear to be the case, though I am no python 
expert.

You may want to ask on the pika google group - 
https://groups.google.com/forum/#!forum/pika-python - or file a bug on 
github.

Regards,

Matthias.


More information about the rabbitmq-discuss mailing list