Create a .py page for an an apache web server that receives messages in GET/POST parameters and enqueue them on a RabbitMQ message broker using an AMQP client
Vice versa, create a stand-alone python program that reads a message from a queue and submit it by calling a URL