<p class="p1">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):</p>
<p class="p1"><font face="courier new, monospace">import pika<br></font><span style="font-family:&#39;courier new&#39;,monospace">from pika.spec import Exchange</span></p>
<p class="p1"><font face="courier new, monospace">connection = pika.BlockingConnection(pika.ConnectionParameters(host=&#39;127.0.0.1&#39;))<br></font><span style="font-family:&#39;courier new&#39;,monospace">channel = connection.channel()</span></p>

<p class="p1"><span style="font-family:&#39;courier new&#39;,monospace">def exchange_bound(frame):<br></span><span style="font-family:&#39;courier new&#39;,monospace">� print &#39;Exchange Bound&#39;</span></p>
<p class="p1"><font face="courier new, monospace">channel.transport.rpc(spec.Exchange.Bind(source=&#39;topicEx&#39;, destination=&#39;anotherEx&#39;, routing_key=&#39;#&#39;), exchange_bound, [Exchange.BindOk])</font></p>

<br><div class="gmail_quote">On Wed, Sep 5, 2012 at 5:56 AM, Matthias Radestock <span dir="ltr">&lt;<a href="mailto:matthias@rabbitmq.com" target="_blank">matthias@rabbitmq.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Dave,<br>
<br>
apologies for the late response...<div class="im"><br>
<br>
On 23/08/12 04:24, Dave Curylo wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I get this error attempting to call channel.exchange_bind:<br>
<br>
&#39;BlockingChannel&#39; object has no attribute &#39;exchange_bind&#39;<br>
<br>
This is my source:<br>
<br>
import pika<br>
connection =<br>
pika.BlockingConnection(pika.<u></u>ConnectionParameters(host=&#39;10.<u></u>0.1.100&#39;))<br>
channel = connection.channel()<br>
channel.exchange_bind(source=&#39;<u></u>topicEx&#39;, destination=&#39;anotherEx&#39;,<br>
routing_key=&#39;#&#39;)<br>
<br>
I&#39;m running pika version 0.9.5.<br>
�&gt;&gt;&gt; pika.__version__<br>
&#39;0.9.5&#39;<br>
<br>
What am I missing that keeps me from being able to do exchange to<br>
exchange bindings?<br>
</blockquote>
<br></div>
There&#39;s no mention of exchange_bind in the pika docs, though if Gavin says that it&#39;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.<br>


<br>
You may want to ask on the pika google group - <a href="https://groups.google.com/forum/#!forum/pika-python" target="_blank">https://groups.google.com/<u></u>forum/#!forum/pika-python</a> - or file a bug on github.<br>
<br>
Regards,<br>
<br>
Matthias.<div class="HOEnZb"><div class="h5"><br>
______________________________<u></u>_________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.<u></u>rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/<u></u>cgi-bin/mailman/listinfo/<u></u>rabbitmq-discuss</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>







<p><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Gavin M. Roy</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Chief Technology Officer</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

</p><blockquote style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255);padding-left:1ex;border-left-color:rgb(204,204,204);border-left-style:solid;margin:0px 0px 0px 0.8ex;border-left-width:1px">

</blockquote><a href="http://www.meetme.com/" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)" target="_blank"><img src="http://movies.myyearbook.com/emailsignatureimages/logo2.png"></a><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

<font color="#666666" style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">100 Union Square Drive<br>New Hope, PA 18938<br>p. +1.215.862.1162 x263<br>f. +1.215.862.0465</font><p></p><p><a href="https://www.facebook.com/pages/MeetMe/21931227129" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)" target="_blank"><img src="http://movies.myyearbook.com/emailsignatureimages/fb_mini.gif"></a><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255);color:rgb(136,136,136)">�</span><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255);color:rgb(136,136,136)">�</span><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255);color:rgb(136,136,136)">�</span><a href="https://twitter.com/meetme" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)" target="_blank"><img src="http://movies.myyearbook.com/emailsignatureimages/tw_mini.gif"></a><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255);color:rgb(136,136,136)">�</span><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255);color:rgb(136,136,136)">�</span><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255);color:rgb(136,136,136)">�</span><a href="http://www.youtube.com/user/MeetMeVideos" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)" target="_blank"><img src="http://movies.myyearbook.com/emailsignatureimages/yt_mini.gif"></a><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

<font color="#888888" style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></font><font color="#666666" style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><font>The public market leader in social discovery.�</font><font>(NYSE MKT: MEET)</font>�</font></p>

<br>