These are the steps to create it In the producer side: Connect to the RabbitMQ server Create a new channel on that connection Create the exchange Publish the message to the exchange with a routing key