4.5.3. The Client Application  client.py creates a private queue
for the server's responses and binds to it using a unique
routing key. To guarantee uniqueness, it uses the session name
for both the name of the queue and the routing key:: reply_to =
"reply_to:" + session.name session.queue_declare(queue=reply_to,
exclusive=True) session.exchange_bind(exchange="amq.direct",
queue=reply_to, binding_key=reply_to) It also creates a local
queue, from which it reads the server's responses. It subscribes
this queue to its private server-side queue and calls start() to
start receiving messages: local_queue_name = "local_queue" queue
= session.incoming(local_queue_name)
session.message_subscribe(queue=reply_to,
destination=local_queue_name) Next, it sends some lines of
poetry to the server, one line at a time, using the routing key
for its private queue in the reply-to property: lines = ["Twas
brilling, and the slithy toves",          "Did gyre and gimble
in the wabe.",          "All mimsy were the borogroves,",