Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 57730 invoked from network); 6 Oct 2009 20:29:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Oct 2009 20:29:33 -0000 Received: (qmail 63418 invoked by uid 500); 6 Oct 2009 20:29:33 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 63391 invoked by uid 500); 6 Oct 2009 20:29:33 -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 63381 invoked by uid 99); 6 Oct 2009 20:29:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Oct 2009 20:29:33 +0000 X-ASF-Spam-Status: No, hits=1.1 required=10.0 tests=FORGED_HOTMAIL_RCVD2,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Oct 2009 20:29:23 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MvGec-0004k3-Bq for users@activemq.apache.org; Tue, 06 Oct 2009 13:29:02 -0700 Message-ID: <25776018.post@talk.nabble.com> Date: Tue, 6 Oct 2009 13:29:02 -0700 (PDT) From: farshad To: users@activemq.apache.org Subject: Question about Queue destinations in network of brokers MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: teez_housh@hotmail.com X-Virus-Checked: Checked by ClamAV on apache.org I have a network of 4 brokers configuration with failover://(tcp://host1:61616,tcp://host2:61616,...) defined. My first piece of java code connects to one of these hosts (randomly) and puts some messages in a queue destination (e.g. Document.QUEUE). A second piece of java code connects to another one of these hosts and fails to read the messages. Is this expected behaviour? If I connect to one host and put messages in a queue and the host goes down what do I have to do to receive my messages connecting to another host in the network? Thank you in advance, FarshadK -- View this message in context: http://www.nabble.com/Question-about-Queue-destinations-in-network-of-brokers-tp25776018p25776018.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.