Re: Non Durable Queue Cleanup

2017-07-12 Thread Martyn Taylor
Michael, As Andy mentioned it's protocol specific. With CORE protocol, the client sends a DELETE QUEUE packet. https://github.com/apache/activemq-artemis/blob/master/ artemis-server/src/main/java/org/apache/activemq/artemis/core/protocol/core/ ServerSessionPacketHandler.java#L376 In AMQP, the qu

Re: Non Durable Queue Cleanup

2017-07-11 Thread Michael André Pearce
Just a little more digging, it seems when two separate topic subscriptions are made, one of the queues is made durable, and the other is not, even so both should be not durable, seems to occur on both core and amqp client. No idea how this could be still, any pointers of code to check or put bre

Re: Non Durable Queue Cleanup

2017-07-11 Thread Michael André Pearce
Ignore the last comment, its not true, i just can’t read a simple log line. but alas still stumped. > On 11 Jul 2017, at 19:47, Michael André Pearce > wrote: > > Just a little more digging, it seems when two separate topic subscriptions > are made, one of the queues is made durable, and the o

Re: Non Durable Queue Cleanup

2017-07-11 Thread Michael André Pearce
We have been connecting both amqp (jms) and core clients connected to the address. We have shutdown all, yet an amount of queues remain. We have checked the connected consumers = 0 and the queues that remain are def non durables. Sent from my iPhone > On 11 Jul 2017, at 17:28, Andy Taylor

Re: Non Durable Queue Cleanup

2017-07-11 Thread Andy Taylor
Depends on the protocol Michael, which client are you using when you see this occur? On 11 July 2017 at 16:35, Michael André Pearce wrote: > Hi All, > > I'm trying to find the logic that cleans up non durable queues (jms topic > subscription). > > I can find logic with regards to auto created an

Non Durable Queue Cleanup

2017-07-11 Thread Michael André Pearce
Hi All, I'm trying to find the logic that cleans up non durable queues (jms topic subscription). I can find logic with regards to auto created and auto delete where message count == 0. But nothing with regards to specific logic to clear up non durables. Reason I'm asking is we are seeing non