Ok. Fair enough. On Wed, Sep 5, 2018 at 7:26 PM Justin Bertram <jbert...@apache.org> wrote:
> We already have that "problem" with other kinds of XML updates to queues. > By default queues will never be deleted because of config updates. Users > will have to set <config-delete-queues>FORCE</config-delete-queues> to > enabled such behavior. > > > Justin > > On Wed, Sep 5, 2018 at 5:52 PM, Clebert Suconic <clebert.suco...@gmail.com > > > wrote: > > > Future me is already concerned about users asking what happened to their > > messages when they updated the XML. That’s all. > > > > On Wed, Sep 5, 2018 at 6:38 PM Justin Bertram <jbert...@apache.org> > wrote: > > > > > This will work in conjunction with <config-delete-queues> > address-setting > > > just like the other changes which require the queue to be deleted and > > > re-created. > > > > > > > > > Justin > > > > > > On Wed, Sep 5, 2018 at 5:31 PM, Clebert Suconic < > > clebert.suco...@gmail.com > > > > > > > wrote: > > > > > > > Are we sure we want to do this? The bindings of the journal contains > > > > the filter. In theory you should remove the queue and re-add it. > > > > > > > > > > > > On Wed, Sep 5, 2018 at 6:30 PM Justin Bertram <jbert...@apache.org> > > > wrote: > > > > > > > > > > I've already opened a JIRA for this [1]. Will send a PR shortly. > > > > > > > > > > > > > > > Justin > > > > > > > > > > [1] https://issues.apache.org/jira/browse/ARTEMIS-2076 > > > > > > > > > > On Wed, Sep 5, 2018 at 4:27 PM, michael.andre.pearce < > > > > > michael.andre.pea...@me.com.invalid> wrote: > > > > > > > > > > > Quite a bit of the queue config is updateable. Whilst this config > > > > > > currently is not i see no reason why it couldnt be if you wanted > to > > > > > > contribute the support for it to be. > > > > > > Obviously the caveat would be any message already routed would > not > > be > > > > > > affected, only new ones. > > > > > > > > > > > > > > > > > > Sent from my Samsung Galaxy smartphone. > > > > > > -------- Original message --------From: Clebert Suconic < > > > > > > clebert.suco...@gmail.com> Date: 05/09/2018 17:51 (GMT+00:00) > > To: > > > > > > users@activemq.apache.org Subject: Re: Filtering in ActiveMQ > > > Artemis. > > > > > > Reload of config in a cluster > > > > > > The Filter is not changed on the queue... > > > > > > > > > > > > > > > > > > Especially that those filters will select messages before they > > enter > > > > the > > > > > > queue. > > > > > > > > > > > > You would need to delete and recreate the queue, so new messages > > are > > > > > > placed properly. > > > > > > On Wed, Sep 5, 2018 at 8:14 AM z94joma < > prenumeratio...@gmail.com> > > > > wrote: > > > > > > > > > > > > > > A question about Filtering in ActiveMQ Artemis. > > > > > > > > > > > > > > If I have a queue named MyQueue.IN and a filter only accepting > a > > > > certain > > > > > > JMS > > > > > > > Headers. Let's say ORDER. > > > > > > > > > > > > > > In Broker.xml under the tag > > > > > > > > > > > > > > <core> > > > > > > > > > > > > > > <configuration-file-refresh-period>5000</configuration- > > > > > > file-refresh-period> > > > > > > > > > > > > > > <queues> > > > > > > > <queue name="MyQueue.IN"> > > > > > > > <address>MyQueue.IN</address> > > > > > > > <filter string="TOSTATUS='ORDER'"/> > > > > > > > <durable>true</durable> > > > > > > > </queue> > > > > > > > </queues> > > > > > > > </core> > > > > > > > As I read the manual, changing the Broker.xml it should now > > relaod > > > > > > config in > > > > > > > Broker.xml every 5 seconds. > > > > > > > > > > > > > > But when I change the filter to > > > > > > > > > > > > > > <filter string="TOSTATUS='ORDERPICKUP'"/> > > > > > > > The config is not changed in ActiveMQ Artemis. > > > > > > > > > > > > > > Not even if I restart the node the filter changes. Caching? > > > > > > > > > > > > > > It is in a cluster but I have changed Broker.xml on both sides. > > > > > > > > > > > > > > Any ideas on how to change a filter on a queue? Preferably by > > > > changing > > > > > > the > > > > > > > Broker.xml > > > > > > > > > > > > > > /Zeddy > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > Sent from: > http://activemq.2283324.n4.nabble.com/ActiveMQ-User- > > > > > > f2341805.html > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > Clebert Suconic > > > > > > > > > > > > > > > > > > > > > > -- > > > > Clebert Suconic > > > > > > > > > -- > > Clebert Suconic > > > -- Clebert Suconic