Skip to content

jjberry314/rabbitmq-cpp-tutorials

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ code for RabbitMQ tutorials

Requirements

On Debian/Ubuntu:

sudo apt-get install cmake libpoco-dev

Build

git clone https://github.com/RPG-18/rabbitmq-cpp-tutorials.git
cd rabbitmq-cpp-tutorials
mkdir build
cd build
cmake ..
make

Code

Tutorial one: "Hello World!":

send
receive

Tutorial two: Work Queues:

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"

Tutorial four: Routing:

receive_logs_direct info
emit_log_direct info "The message"

Tutorial five: Topics:

receive_logs_topic "*.rabbit"
emit_log_topic red.rabbit Hello

Tutorial six: RPC:

rpc_server
rpc_client

About

C++ code for RabbitMQ tutorials

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 95.4%
  • CMake 4.6%