I have been doing some Apache Qpid C++ broker work during last few weeks and I thought I should write some important things I learned during Apache Qpid configuration process. In this blog post I will be explaining how to configure persistent with Apache Qpid C++ broker.
To add persistence to Apache Qpid you have to use another project which maintained by RedHat and you first need to check out[1] the appropriate release tag which sync with the Apache Qpid release you are using.
First you should have a working Apache Qpid C++ broker build in your machine with a full checkout of the source of the release. If you are using a release please get a check out of the appropriate tag.
Now you have two checkouts Qpid complete checkout from the tag and message-store checkout from redhat sub version repository for the appropriate Qpid release.
Now go through the README file of the message store and install required softwares to build the message store successfully by running below commands.
cd
./bootstrap
./configure --with-qpid-checkout=
make
make install
Now point your LD_LIBRARY_PATH to /lib/.libs and go to the place where you have build Apache Qpid C++ broker and run the qpidd like below.
./qpidd --load-module msgstore.so
After you start this successfully you can use persistent queues with Apache Qpid C++ broker. You can run ./qpidd --load-module msgstore.so -h to see the available options with the loaded module msgstore.so.
To use the queue persistence please create durable queues, I will be writing few more blog posts on how to manage Apache Qpid C++ broker which will describe how to monitor C++ broker and how to create queues, topic and exchanges using python scripts provided in Qpid.
[1]http://anonsvn.jboss.org/repos/rhmessaging/store/tags/
7 comments :
HI,
Nice post, can you please post some thing on high availability clustering with c++ broker
Will do, need to test a bit locally and post.
Lahiru
tq
tq
Hi,
Can you please explain how to create durable queues and test it.
hi,
I did what you explain in the post and restart the service, and don't have much idea about how to check the queue persistence. Please explain it ......
Hi,
Can you explain how can we declare message durable and how can we enable the delivery mode persistent
I use qpid-config add queue NEW --durable
for setting message as durable and have no idea about to set it as persistent..
please help
Post a Comment