Skip to content

cbusbey/rabbitmq-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rabbitmq-cpp

a nice c++ wrapper for rabbitmq-c https://github.com/rabbitmq/rabbitmq-c

BUILD

You will need the rabbitmq-c, and rabbitmq-codegen libs. See the rabbitmq-c README for other pre-reqs.

Build and checkout in the project root.

git clone git://github.com/rabbitmq/rabbitmq-c.git
git clone git://github.com/rabbitmq/rabbitmq-codegen.git
pushd rabbitmq-c
autoreconf -i
./configure
make

Once deps are built...

./bootstrap
./configure
make

RUNNING THE EXAMPLES

Arrange for a RabbitMQ to be running on 'localhost'

In one terminal run

[terminal1]$ ./examples/consumer localhost 5672 amq.topic test

In another terminal,

[terminal2]$ ./examples/producer localhost 5672 amq.topic test "hello world"

You should see output similar to the following in terminal 1

"hello world"

About

c++ wrapper for rabbitmq-c

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published