- C++11 compiler support
- POCO C++ Libraries
- CMake
On Debian/Ubuntu:
sudo apt-get install cmake libpoco-dev
git clone https://github.com/RPG-18/rabbitmq-cpp-tutorials.git
cd rabbitmq-cpp-tutorials
mkdir build
cd build
cmake ..
make
send
receive
new_task "A very hard task which takes two seconds.."
worker
Tutorial three: Publish/Subscribe:
receive_logs
emit_log "info: This is the log message"
receive_logs_direct info
emit_log_direct info "The message"
receive_logs_topic "*.rabbit"
emit_log_topic red.rabbit Hello
rpc_server
rpc_client