[rabbitmq-discuss] Pika v0.9.5, how to get the routing key when consuming
    Denis Conan 
    Denis.Conan at telecom-sudparis.eu
       
    Sun May  1 19:42:40 BST 2011
    
    
  
Le 01/05/2011 20:34, Denis Conan a écrit :
>
> Hi all,
>
> not being a Python programmer, it is difficult to find how the next lines from
> an old version of Pika must be written in v0.9.5:
> def callback(ch, method, properties, body):
> print " [x] %r:%r" % (method.routing_key, body,)
>
> More precisely, how to get the routing key of message consumed?
same code
sorry for the noise
Denis
    
    
More information about the rabbitmq-discuss
mailing list