Artemis delete inactive destinations

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Artemis delete inactive destinations

praneethg
In activemq, there is a configuration that we can make to delete inactive queues. But in artemis, i read that the inactive queues are deleted automatically - does any one know what are the conditions ? time interval etc?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Artemis delete inactive destinations

sv.satish
Saem question..watching...
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Artemis delete inactive destinations

clebertsuconic
There is no Garbage Collection for destinations in Artemis currently..

You can set a destination to be deleted when no consumers are
attached.. and have it self created... but we don't have a GC for that
yet...


It would be a nice addition... I believe I have seen a JIRA around GC
for destinations.. I can research later... it's easy to be
implemented.. anyone fancy doing it? :)

On Fri, Jul 14, 2017 at 11:35 AM, sv.satish <[hidden email]> wrote:
> Saem question..watching...
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Artemis-delete-inactive-destinations-tp4728541p4728558.html
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.



--
Clebert Suconic
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Artemis delete inactive destinations

cnadukula
you say "You can SET a destination to be deleted when no consumers are
attached" how do i set that, is there a config change for that? or did i misinterpret you?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Artemis delete inactive destinations

clebertsuconic
There is the purge when no consumers options.. I don't remember
exactly where now.. I can check later if you can't find it..

just giving the information real fast now. if you can't find it let me
know and I will look for you once I get back to a computer.

On Fri, Jul 14, 2017 at 12:43 PM, cnadukula <[hidden email]> wrote:
> you say "You can SET a destination to be deleted when no consumers are
> attached" how do i set that, is there a config change for that? or did i
> misinterpret you?
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Artemis-delete-inactive-destinations-tp4728541p4728561.html
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.



--
Clebert Suconic
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Artemis delete inactive destinations

Justin Bertram
In reply to this post by praneethg
As noted in the documentation [1] auto-created queues will be auto-deleted
by default when both the message-count and consumer-count reaches 0.
Auto-created address will be auto-deleted by default when they no longer
have any associated queues.


Justin

[1] http://activemq.apache.org/artemis/docs/2.0.0/address-model.html

On Thu, Jul 13, 2017 at 9:56 PM, praneethg <[hidden email]>
wrote:

> In activemq, there is a configuration that we can make to delete inactive
> queues. But in artemis, i read that the inactive queues are deleted
> automatically - does any one know what are the conditions ? time interval
> etc?
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.
> nabble.com/Artemis-delete-inactive-destinations-tp4728541.html
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Artemis delete inactive destinations

cnadukula
In reply to this post by clebertsuconic
@clebertsuconic : I found a config setting in a schema file called "default-purge-on-no-consumers". Can you please let me know where I make the change so i override the default value? or if you are referring to another option that I am unaware?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Artemis delete inactive destinations

Justin Bertram
The 'default-purge-on-no-consumers' element is a member of
'address-settings' (which should be clear from the schema).  The default
value for this setting is false.

That said, I'm not sure this setting fits your use-case.  The
'purge-on-no-consumers' setting (and the related
'default-purge-on-no-consumers') is a way to get non-durable subscription
semantics on a static, pre-configured queue.  A queue for which
'purge-on-no-consumers' is true will be purged (i.e. all its messages will
be deleted) and paused (i.e. it will not receive any messages) when the
consumer-count goes to or is zero.


Justin

On Mon, Jul 17, 2017 at 2:48 PM, cnadukula <[hidden email]> wrote:

> @clebertsuconic : I found a config setting in a schema file called
> "default-purge-on-no-consumers". Can you please let me know where I make
> the
> change so i override the default value? or if you are referring to another
> option that I am unaware?
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.
> nabble.com/Artemis-delete-inactive-destinations-tp4728541p4728613.html
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>
Loading...