Steps you have to take to use the PHP AMQP extension to publish messages and to consume messages.