Retrieving AMQP routing key information using pika
I would like to write the answer down because it this question was before the documentation on google. 
def amqmessage(ch, method, properties, body):
       channel.basic_consume(amqmessage, queue=queue_name, no_ack=True)
       channel.start_consuming()
The routing key can be found with:method.routing_key
New to RabbitMQ and I am trying to determine a way in which to retrieve the routing key information of an AMQP message.  Has anyone really tried this before?  I am not finding a lot of documentation that explicitly states how to query AMQP using pika (python).  
This is what I am trying to do:
basically I have a Consumer class, for example:
channel.exchange_declare(exchange='test', type='topic')
 channel.queue_declare(queue='topic_queue',auto_delete=True)
 channel.queue_bind(queue='topic_queue', exchange='test', routing_key = '#')
I set up a queue and I bind to an exchange and all the routing_keys (or binding keys I suppose) being passed through that exchange. 
I also have a function:
def amqmessage(ch, method, properties, body):
       channel.basic_consume(amqmessage, queue=queue_name, no_ack=True)
       channel.start_consuming() 
I think that the routing_key should be "method.routing_key" from the amqmessage function but I am not certain how to get it to work correctly.