git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Filtering in ActiveMQ Artemis. Reload of config in a cluster


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