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$





-- 
Daryoush

Weblog:  http://onfp.blogspot.com/

Reply via email to