From users-return-50433-archive-asf-public=cust-asf.ponee.io@activemq.apache.org Thu Sep 6 01:44:54 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 7A04B180654 for ; Thu, 6 Sep 2018 01:44:53 +0200 (CEST) Received: (qmail 66519 invoked by uid 500); 5 Sep 2018 23:44:52 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 66505 invoked by uid 99); 5 Sep 2018 23:44:51 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Sep 2018 23:44:51 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 3E8761A1545 for ; Wed, 5 Sep 2018 23:44:51 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.203 X-Spam-Level: *** X-Spam-Status: No, score=3.203 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01, URI_HEX=1.313, URI_TRY_3LD=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id bfv9D6iIYDAt for ; Wed, 5 Sep 2018 23:44:49 +0000 (UTC) Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id EA6745F385 for ; Wed, 5 Sep 2018 23:44:48 +0000 (UTC) Received: by mail-pl1-f181.google.com with SMTP id g2-v6so3080419plo.2 for ; Wed, 05 Sep 2018 16:44:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=+rcReAXyolMmpM4S8gmpsFzu1jprqxwtmDaAU1qWcwE=; b=ShykHT3CXxWLXONgi+AiIc2kcc3ERyyYL2QKENtTMet3H/26RDMwCULzIeP2qJsAqR 7K0H8jJIqKRTLZdhm20ZbSvrAJ/f3lGcaH2RG3TfyxSWeh67Sw4xR/ufOsYjNdIWCUv4 5+dOsPVpSGIlUrWbUywsmjnjGJh6+Gx9EHRnWA76QDAdQCXp3cwyl2Aw4XNPAz7u53P6 yukJOR/3LzcOkZclXRpeoKZ2skeD/CrZVZGoLbSkALS40elXz1GvfWPSwbym+RS7kcD2 JNtGTffqO9KWkdDYifp7icRn4qIwpbmDzjITS4uAt1Pt8ej55HnNoqbtX/fEbXaJAReN xgsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=+rcReAXyolMmpM4S8gmpsFzu1jprqxwtmDaAU1qWcwE=; b=YmW0VabJpwh9myXzmB1vuepE/zlsKYzWnbIlRugUG7Gw4u4n38wyVRzKLXBXkBF2p+ cBlNg3pSD3j6JI5WFBJLf2O+2yy4VwiFIfq3FEfGwPXVYpbI3FTBZbdcikARTemH9p9o 7pH/PohouC8cEs301JH683MGcHpgtSVGuIn7I79dIkBHPAT+bthNnGBVO3J4MkHeWvvJ EFzY2sqALvrBXcviaA8DfbL6qOE2qxENowIkU003mU/x3UCVYawn4uYC5KHI5tkSfJRG OqxM3JJyBLoG9wx4L/02eXxZmd0cYEa5czTQvOOYLYlyC/0p4ztoUZ3debz5GniiCwOu clkA== X-Gm-Message-State: APzg51BZ5y/0xw3xo5CCTz5BjZBj3pe66Kam69vjC19sULaJy2+9hllE T7jB8ilfpVbB87R6H2xDnBKQI3eBcaV1TW2gV55mZQ== X-Google-Smtp-Source: ANB0VdahIYAbgIyhxNO2U2d1/xLXpX79Wdhpwx9U5BsfRWV9Ngp64nwY6hdLKgbEcz/SB1IgqErT8nz311TM1zDrkw4= X-Received: by 2002:a17:902:4124:: with SMTP id e33-v6mr138231pld.48.1536191081632; Wed, 05 Sep 2018 16:44:41 -0700 (PDT) MIME-Version: 1.0 References: <0PEL00NCVQ995L00@mr85p00im-hyfv06011401.me.com> In-Reply-To: From: Clebert Suconic Date: Wed, 5 Sep 2018 19:44:30 -0400 Message-ID: Subject: Re: Filtering in ActiveMQ Artemis. Reload of config in a cluster To: users@activemq.apache.org Content-Type: multipart/alternative; boundary="000000000000ba57330575285bb8" --000000000000ba57330575285bb8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ok. Fair enough. On Wed, Sep 5, 2018 at 7:26 PM Justin Bertram 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 FORCE to > enabled such behavior. > > > Justin > > On Wed, Sep 5, 2018 at 5:52 PM, Clebert Suconic > > wrote: > > > Future me is already concerned about users asking what happened to thei= r > > messages when they updated the XML. That=E2=80=99s all. > > > > On Wed, Sep 5, 2018 at 6:38 PM Justin Bertram > wrote: > > > > > This will work in conjunction with > 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.suconic@gmail.com > > > > > > > wrote: > > > > > > > Are we sure we want to do this? The bindings of the journal contain= s > > > > the filter. In theory you should remove the queue and re-add it. > > > > > > > > > > > > On Wed, Sep 5, 2018 at 6:30 PM Justin Bertram > > > 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.pearce@me.com.invalid> wrote: > > > > > > > > > > > Quite a bit of the queue config is updateable. Whilst this conf= ig > > > > > > currently is not i see no reason why it couldnt be if you wante= d > 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.suconic@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 message= s > > are > > > > > > placed properly. > > > > > > On Wed, Sep 5, 2018 at 8:14 AM z94joma < > prenumeration99@gmail.com> > > > > wrote: > > > > > > > > > > > > > > A question about Filtering in ActiveMQ Artemis. > > > > > > > > > > > > > > If I have a queue named MyQueue.IN and a filter only acceptin= g > a > > > > certain > > > > > > JMS > > > > > > > Headers. Let's say ORDER. > > > > > > > > > > > > > > In Broker.xml under the tag > > > > > > > > > > > > > > > > > > > > > > > > > > > > 5000 > > > > > file-refresh-period> > > > > > > > > > > > > > > > > > > > > > > > > > > > >
MyQueue.IN
> > > > > > > > > > > > > > true > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > 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 > > > > > > > > > > > > > > > > > > > > > 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 side= s. > > > > > > > > > > > > > > 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 > > > --=20 Clebert Suconic --000000000000ba57330575285bb8--