AMQP-CPP/rabbitmq_tutorials/README.md

901 B

C++ code for RabbitMQ tutorials

Requirements

  • Boost Asio
  • Boost Uuid

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