What version of qpid Java client do you use? I tried 0.24 and it created the
queue with proper options:
$ ./run_example.sh org.apache.qpid.example.Drain -f -c 1 "amq.fanout;
{link:{durable:True, name:'my-subscription', x-declare:{auto-delete:True,
arguments:{'qpid.auto_delete_timeout':10}}}}" &
$ qpid-stat -q
Queues
queue dur autoDel excl msg msgIn
msgOut bytes bytesIn bytesOut cons bind
=========================================================================================================================
204f1f75-93a4-4cdf-a78d-2bc0d0c62ff5:0.0 Y Y 0 0
0 0 0 0 1 2
my-subscription Y Y Y 0 0
0 0 0 0 1 2
$ qpid-config queues my-subscription
Queue Name Attributes
========================================
my-subscription --durable --replicate=all auto-del excl --argument
qpid.ha-uuid=True --argument qpid.auto_delete_timeout=10 --argument
no-local=False
$
Kind regards,
Pavel
----- Original Message -----
> From: "Gordon Sim" <[email protected]>
> To: [email protected]
> Sent: Monday, October 21, 2013 10:58:03 AM
> Subject: Re: Flow Control for JMS Durable Subscribers
>
> On 10/20/2013 10:19 PM, Andrew Grissom wrote:
> > I took a look at the examples and that works just like I wanted, I'm not
> > sure how my googling missed that page.
> > I also saw that I can have the queue be auto-deleted after a certain time
> > period, but it does not seem to work when I make the queues durable. For
> > example:
> > my-topic; {link:{durable:True, name:'my-subscription',
> > x-declare:{auto-delete:True, arguments:{'qpid.auto_delete_timeout':30}}}}
> >
> > In this case I see durable in qpid-config. If I remove durable:True, I see
> > auto-delete. Is this the expected behavior and if it is, is there a way
> > to have the broker automatically delete a durable subscription queue after
> > a certain period of time?
>
> That is certainly not the behaviour I would expect. Using the same
> address with the c++ client for example, the queue created is both
> durable and auto-deleted (with delay as configured).
>
> Could you create a bug report for that:
> https://issues.apache.org/jira/browse/QPID
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]