<div>
            <div><span>That does look correct, this is what your method parameter should look something like:</span></div><div><span><br></span></div><div><span><div>&lt;Basic.Deliver(['consumer_tag=ctag0', 'redelivered=False', 'routing_key=test', 'delivery_tag=1', 'exchange='])&gt;</div><div><br></div><div>Take a look at the examples at:</div><div><br></div><div><a href="http://pika.github.com/examples.html">http://pika.github.com/examples.html</a></div><div><br></div><div>or in:</div><div><br></div><div><a href="https://github.com/pika/pika/tree/master/examples">https://github.com/pika/pika/tree/master/examples</a></div>
                </span>
                <span></span>
                
                <!-- <p style="color: #a0a0a0;">On Sunday, May 1, 2011 at 2:34 PM, Denis Conan wrote:</p> -->
                <p style="color: #a0a0a0;">On Sunday, May 1, 2011 at 2:34 PM, Denis Conan wrote:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><div><div><br>Hi all,<br><br>not being a Python programmer, it is difficult to find how the next lines from <br>an old version of Pika must be written in v0.9.5:<br>def callback(ch, method, properties, body):<br>     print " [x] %r:%r" % (method.routing_key, body,)<br><br>More precisely, how to get the routing key of message consumed?<br><br>Thanks in advance.<br><br>Denis<br>_______________________________________________<br>rabbitmq-discuss mailing list<br><a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br><a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br></div></div></span>
                
                
                
                
                </blockquote>
                
                <div>
                    <br>
                </div>
            </div>
        </div>