[rabbitmq-discuss] Exchange to exchange bindings in python (pika)
Gavin M. Roy
gmr at meetme.com
Thu Sep 20 12:28:18 BST 2012
The method exchange_bind is not defined on the channel, I will add to the
0.9.6 tree. Exchange.Bind can be accessed with the following code (tested
with pypi installed 0.9.5):
from pika.spec import Exchange
channel = connection.channel()
print 'Exchange Bound'
destination='anotherEx', routing_key='#'), exchange_bound,
On Wed, Sep 5, 2012 at 5:56 AM, Matthias Radestock <matthias at rabbitmq.com>wrote:
> 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 =
>> channel = connection.channel()
>> channel.exchange_bind(source='**topicEx', destination='anotherEx',
>> I'm running pika version 0.9.5.
>> >>> pika.__version__
>> 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
> You may want to ask on the pika google group - https://groups.google.com/*
> *forum/#!forum/pika-python<https://groups.google.com/forum/#!forum/pika-python>- or file a bug on github.
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.**rabbitmq.com<rabbitmq-discuss at lists.rabbitmq.com>
Gavin M. Roy
Chief Technology Officer
100 Union Square Drive
New Hope, PA 18938
p. +1.215.862.1162 x263
The public market leader in social discovery. (NYSE MKT: MEET)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss