Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DF7D418472 for ; Fri, 30 Oct 2015 15:02:06 +0000 (UTC) Received: (qmail 89295 invoked by uid 500); 30 Oct 2015 15:02:06 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 89253 invoked by uid 500); 30 Oct 2015 15:02:06 -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 89241 invoked by uid 99); 30 Oct 2015 15:02:06 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Oct 2015 15:02:06 +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 A75CE1A2B35 for ; Fri, 30 Oct 2015 15:02:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.099 X-Spam-Level: X-Spam-Status: No, score=-0.099 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, URIBL_BLOCKED=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-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id P2JJPOZVFV85 for ; Fri, 30 Oct 2015 15:01:52 +0000 (UTC) Received: from mail-vk0-f49.google.com (mail-vk0-f49.google.com [209.85.213.49]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id E3C4242BA0 for ; Fri, 30 Oct 2015 15:01:51 +0000 (UTC) Received: by vkex70 with SMTP id x70so48635282vke.3 for ; Fri, 30 Oct 2015 08:01:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=TYphWeWldNjdioQBRGO6qKAXtR4+pAd6LqXXMifZFg0=; b=NgP64+hDg2tYxvMO5gmDDpZnb3dP2nGny1h6nrclOz2D/wxNpEW40ywNDEeDJAM6PJ +4aaHA5CrLYT2oUVn/saSbwRvVFW2bpMRWROzEGD99GI36W/QlfTqGVNhJRDAy5Yc0hq oGZP80mpDqlA/fvnP43L9KMQw7N3zmuJlKQP7nSz9aSe0d/1ZD295xJ9Ll5xdfnA3fUk kOVQAWeZsoZtrYJNxpYrWBES/OdKQmgL/a0et8TKNSSZKqKny9A/a7FV8euEQFr5bIN+ iUrgBmYUlKw9RuL39qJxoERjrmM8F/rxRyxHJifWS8QOMUcwzPTtG1JTSsujt6baNSe4 egtA== MIME-Version: 1.0 X-Received: by 10.31.50.65 with SMTP id y62mr5675176vky.76.1446217311290; Fri, 30 Oct 2015 08:01:51 -0700 (PDT) Received: by 10.31.77.196 with HTTP; Fri, 30 Oct 2015 08:01:51 -0700 (PDT) In-Reply-To: <1625905269.38231075.1446215140948.JavaMail.zimbra@redhat.com> References: <1446171134877-4703503.post@n4.nabble.com> <739598622.37954132.1446172828834.JavaMail.zimbra@redhat.com> <1625905269.38231075.1446215140948.JavaMail.zimbra@redhat.com> Date: Fri, 30 Oct 2015 11:01:51 -0400 Message-ID: Subject: Re: artemis cluster don't redistribute message From: Clebert Suconic To: users@activemq.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable the message is always sent to the host where it is being produced... it will later be redistributed over demand. AFAIK AMQ5 would be the same? On Fri, Oct 30, 2015 at 10:25 AM, Justin Bertram wrot= e: > I'm a bit confused by your comment, Tim. > > When I think of "first-time distribution" I think of when the message arr= ives on the cluster for the first time and it is distributed to a node with= a matching consumer. Artemis supports this for consumers with selectors. > > When I think of "redistribution" I think of when the message arrives on t= he cluster for the first time and there are no matching consumers and then = later a matching consumer connects to another node in the cluster and the m= essage is redistributed to that node. Artemis doesn't support this for con= sumers with selectors. > > To me, the question about "messages produced while the queue consumer is = disconnected" is about redistribution - at least how Artemis defines it. Ba= sed on your comment it appears you have different ideas about what "redistr= ibution" and "first-time distribution" means. Can you clarify? > > > Justin > > ----- Original Message ----- > From: "Tim Bain" > To: "ActiveMQ Users" > Sent: Friday, October 30, 2015 8:31:20 AM > Subject: Re: artemis cluster don't redistribute message > > This isn't redistribution, it's first-time distribution: the question is > about messages produced while the queue consumer is disconnected. And th= at > definitely does work in ActiveMQ. > On Oct 29, 2015 9:14 PM, "Clebert Suconic" > wrote: > >> Ah... based on selectors... >> >> I don't think ActiveMQ5 supports it either.. it's a fundamental >> problem that usually goes against the messaging context. >> >> >> Most of times I have seen this pattern being used the Messaging system >> was being used for store & retrieve. I.e. a database like application. >> which usually tends to fail. >> >> I'm not saying it's your case.. but it's been the case most times I >> seen that need. >> >> On Thu, Oct 29, 2015 at 10:40 PM, Justin Bertram >> wrote: >> > As far as I know redistribution based on selectors is not currently >> supported in Artemis. >> > >> > >> > Justin >> >> >> >> -- >> Clebert Suconic >> --=20 Clebert Suconic