title: How to set a timeout to a RabbitMQ RPC request?
body: <p>Is there any timeout to publish messages to a topic in the AMQP (RabbitMQ) RPC model?</p>
  
  <p>I don't want to wait for a long time (after a timeout) for the consumer's answer to the producer message.</p>
  
  <p>Reference: <a href="https://www.rabbitmq.com/tutorials/tutorial-six-go.html" rel="nofollow noreferrer">RPC (Go RabbitMQ Client)</a></p>