Did you load the store module? If you are running qpidd from within your build directory, then you will need to either set up your config file to load the store module, or you need to start the broker using --load-module path/to/msgstore.so on the command-line.
The async store is not part of the Apache source and needs to be checked out and built separately, see https://cwiki.apache.org/confluence/display/qpid/FAQ#FAQ-Persistence for details. On Tue, 2011-09-06 at 09:26 -0700, Daryoush Mehrtash wrote: > I like to configure a durable queue in Qpid. I create queue with > "--durable" option verify that it is created as durable, then stop and start > the qpidd and see that the queue is deleted. Am I doing anything wrong? > > Here is the sequences: > > Start Qpidd > > :~/tmp$ ~/QPID/qpidc-0.10/src/qpidd -d -p 5672 > > > Create a durable queue > > :~/tmp$ qpid-config -a localhost:5672 add queue myDurableTestQ --durable > > > See that queue is created and is durable > > i:~/tmp$ qpid-config -a localhost:5672 > > Total Exchanges: 8 > > topic: 3 > > headers: 1 > > fanout: 1 > > direct: 3 > > Total Queues: 6 > > durable: 1 > > non-durable: 5 > > :~/tmp$ qpid-config -a localhost:5672 queues > > Queue Name Attributes > > ============================================= > > myDurableTestQ --durable --file-size=24 --file-count=8 > > qmfc-v2-hb-lgb.32036.1 auto-del excl --limit-policy=ring > > qmfc-v2-lgb.32036.1 auto-del excl > > qmfc-v2-ui-lgb.32036.1 auto-del excl --limit-policy=ring > > reply-lgb.32036.1 auto-del excl > > topic-lgb.32036.1 auto-del excl --limit-policy=ring > > > > Stop qpidd > > > :~/tmp$ ~/QPID/qpidc-0.10/src/qpidd -q -p 5672 > > > Restart is again > > :~/tmp$ ~/QPID/qpidc-0.10/src/qpidd -d -p 5672 > > > Queue is not started: > > :~/tmp$ qpid-config -a localhost:5672 queues > > Queue Name Attributes > > ============================================= > > qmfc-v2-hb-lgb.32086.1 auto-del excl --limit-policy=ring > > qmfc-v2-lgb.32086.1 auto-del excl > > qmfc-v2-ui-lgb.32086.1 auto-del excl --limit-policy=ring > > reply-lgb.32086.1 auto-del excl > > topic-lgb.32086.1 auto-del excl --limit-policy=ring > > ijet@lgb:~/tmp$ > --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
