45 lines
901 B
Markdown
45 lines
901 B
Markdown
# C++ code for RabbitMQ tutorials
|
|
|
|
## Requirements
|
|
|
|
* Boost Asio
|
|
* Boost Uuid
|
|
|
|
|
|
## Code
|
|
|
|
[Tutorial one: "Hello World!"](http://www.rabbitmq.com/tutorial-one-python.html):
|
|
|
|
send
|
|
receive
|
|
|
|
|
|
[Tutorial two: Work Queues](http://www.rabbitmq.com/tutorial-two-python.html):
|
|
|
|
new_task "A very hard task which takes two seconds.."
|
|
worker
|
|
|
|
|
|
[Tutorial three: Publish/Subscribe](http://www.rabbitmq.com/tutorial-three-python.html):
|
|
|
|
receive_logs
|
|
emit_log "info: This is the log message"
|
|
|
|
|
|
[Tutorial four: Routing](http://www.rabbitmq.com/tutorial-four-python.html):
|
|
|
|
receive_logs_direct info
|
|
emit_log_direct info "The message"
|
|
|
|
|
|
[Tutorial five: Topics](http://www.rabbitmq.com/tutorial-five-python.html):
|
|
|
|
receive_logs_topic "*.rabbit"
|
|
emit_log_topic red.rabbit Hello
|
|
|
|
|
|
[Tutorial six: RPC](http://www.rabbitmq.com/tutorial-six-python.html):
|
|
|
|
rpc_server
|
|
rpc_client
|