title: How to create a delayed queue in RabbitMQ?
body: <p>What is the easiest way to create a delay (or parking) queue with Python, Pika and RabbitMQ? I have seen an similar <a href="https://stackoverflow.com/questions/4444208/delayed-message-in-rabbitmq">questions</a>, but none for Python. </p>
  
  <p>I find this an useful idea when designing applications, as it allows us to throttle messages that needs to be re-queued again.</p>
  
  <p>There are always the possibility that you will receive more messages than you can handle, maybe the HTTP server is slow, or the database is under too much stress.</p>
  
  <p>I also found it very useful when something went wrong in scenarios where there is a zero tolerance to losing messages, and while re-queuing messages that could not be handled may solve that. It can also cause problems where the message will be queued over and over again. Potentially causing performance issues, and log spam. </p>