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 562AE1861B for ; Thu, 28 Jan 2016 05:51:44 +0000 (UTC) Received: (qmail 90462 invoked by uid 500); 28 Jan 2016 05:51:44 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 90423 invoked by uid 500); 28 Jan 2016 05:51:44 -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 90411 invoked by uid 99); 28 Jan 2016 05:51:43 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jan 2016 05:51:43 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 31AEAC2E33 for ; Thu, 28 Jan 2016 05:51:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.567 X-Spam-Level: **** X-Spam-Status: No, score=4.567 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=3, URIBL_BLOCKED=0.001, URI_HEX=1.313, URI_TRY_3LD=0.001, WEIRD_PORT=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id G-lFz6UDySZB for ; Thu, 28 Jan 2016 05:51:30 +0000 (UTC) Received: from mail-ig0-f178.google.com (mail-ig0-f178.google.com [209.85.213.178]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id E50B920426 for ; Thu, 28 Jan 2016 05:51:29 +0000 (UTC) Received: by mail-ig0-f178.google.com with SMTP id z14so6457418igp.0 for ; Wed, 27 Jan 2016 21:51:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=t+MoYhUeHpTGROabnhYUnb0aQBaKUSxd8rPT2wJlYjI=; b=q3NXRO+RJHIoxESIGwyJThDW4tc4T8AljI9V5l+fTovng/K+AQshZk5YSlWvY4V6tE rB0qwkuSr29xGqmKcPNuosdEybvR/04zF7r++2itDunBq3coRrCQmVOlQd/H+gM8whcL aY6L7xs0ajqhFpHHCin9F0n69qerCxEN4CeQmT+z3eJ95qphcCHZZ5Rz77UFdlR/w8+n cXF8uncdtXJgsR2iynHSdmRzGGW07uZIW+/+FYqQcA/8A1qZGZ3as2ve/WHbWKVUgnXj IKAhjD7tefgCZ7MfVArTDEOrXzsmfbmk0AZuow09IZI1LFptCIct4vF4SGChbI6MC5K6 tfnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=t+MoYhUeHpTGROabnhYUnb0aQBaKUSxd8rPT2wJlYjI=; b=G47/569Uc1LgLy8lC9m3mW26ho7lCq/e70fdn24e7mKPi/EYaZg4fSa60NZzsUP4ol N6DJZhI25PCGS7FwepL0vnDF6E3Nen75xBvMTqnjB/IYZBkMHB5p2bvy/bBvjxyScDZe bNhio1sRU0BuOTdO7Il7tGUOheRLldEBvQ6Oj555EapudT1VimtDjGb4FbtXl1myfOno Pa+2X9NfZOhmud24NyLuVP9OYjzHTFq2Vq/ofzy6GKfxIAmfPHmdDXO3XlXVtFNLDVdN SY/GvKdKBswz3zk4GxeNFvPgnr87zh2uZiFg8uzZMemkAzUT6mtqgwhC3Ct+vWWiNHJ0 GjLg== X-Gm-Message-State: AG10YORVa/n8KieOiz8i1xMh4NrBc71fwyivzeeWYDbnK3+w+ArMSLNZieMMDsVafyg83OiiBEzyBk9fdZC0NA== MIME-Version: 1.0 X-Received: by 10.50.79.167 with SMTP id k7mr1178710igx.41.1453960289390; Wed, 27 Jan 2016 21:51:29 -0800 (PST) Sender: tbain98@gmail.com Received: by 10.50.249.12 with HTTP; Wed, 27 Jan 2016 21:51:29 -0800 (PST) Received: by 10.50.249.12 with HTTP; Wed, 27 Jan 2016 21:51:29 -0800 (PST) In-Reply-To: <1453909101605-4706506.post@n4.nabble.com> References: <1452079350425-4705622.post@n4.nabble.com> <1453909101605-4706506.post@n4.nabble.com> Date: Wed, 27 Jan 2016 22:51:29 -0700 X-Google-Sender-Auth: ET_So7Az-Z2_I5zheWSCFYK-9gs Message-ID: Subject: Re: failover and cannot access queue From: Tim Bain To: ActiveMQ Users Content-Type: multipart/alternative; boundary=089e013a1a38911822052a5e822b --089e013a1a38911822052a5e822b Content-Type: text/plain; charset=UTF-8 Are you using this config file for all four brokers? It looks like you're having each broker connect not only to the other three but also to itself; is that true? If so, I'm not sure what happens if a broker connects to itself, but I'd try eliminating that from the configuration and see if it changes anything. Also, are you getting zero messages forwarded, or some but not all? And is the problem that some messages can't be consumed because there is no consumer on the broker on which they're published, or just that that local consumers are taking all the messages so consumers on the other brokers never get any? If you could describe what you expect to happen and what's actually happening in more detail (including information like which producers and consumers are on which brokers), that may make it faster and easier to help you figure out what's going on. Tim On Jan 27, 2016 4:13 PM, "tybreizh29" wrote: > Hi Tim, > Thanks a lot for your response. > I was on another project, that's why I was sooo long to answer. > I now understand well that the message is passed from one server to > another. > I have difficulties to put all pieces together. > Unfortunately for me all leads to ActiveMQ FAQ, and i keep confused. > > Right now I'm publishing to cluster1 with stomp (later I will on any > machine) > with java i'm using the failover > (failover:(tcp://msf01.site.com:62616,tcp://msf02.site.com:62616,tcp:// > cluster1.site.com:62616,tcp://amidala.site.com:62616)?timeout=10000'), > so some consumers are reading messages, some are not, because no message is > forwarded) > > I thought the below config should make all messages be forwarded to all > destinations, but not really :( > I'm still stuck :/ > > > brokerName="amidala.site.com" dataDirectory="${activemq.data}"> > > uri="static:(tcp://cluster1.site.com:62616)" userName="system" > password="pass" decreaseNetworkConsumerPriority="true" > > > > > > > uri="static:(tcp://amidala.site.com:62616)" userName="system" > password="pass" > > > > > > > uri="static:(tcp://msf01.site.com:62616)" userName="system" > password="pass" > > > > > > > > uri="static:(tcp://msf02.site.com:62616)" userName="system" > password="pass" > > > > > > > > > > > > > > > > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/failover-and-cannot-access-queue-tp4705622p4706506.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > --089e013a1a38911822052a5e822b--