Simple task for booming games
- RabbitMQ is installed and running on localhost on standard port (5672)
- send.rb - after running expose post endpoint at "/", which pass all the values from POST to RabbitMQ queue
- receive.rb - prints out all the messages send to the queue
- $ ruby send.rb
- $ ruby receive.rb
- RabbitMQ is installed and running on localhost on standard port (5672)
- Provided you have php Composer installed and functional, you can run the following:
- $php composer.phar install
- index.html - simple html form which POST a message to send.php
- send.php - endpoint, which sends all the values from POST to RabbitMQ queue, then redirects to the sender
- receive.php - prints out all the messages send to the queue
runing the receiver:
- $ php receive.php