From dev-return-7443-apmail-activemq-dev-archive=activemq.apache.org@activemq.apache.org Tue Jul 10 08:03:09 2007 Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 571 invoked from network); 10 Jul 2007 08:03:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Jul 2007 08:03:07 -0000 Received: (qmail 1314 invoked by uid 500); 10 Jul 2007 08:03:10 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 1272 invoked by uid 500); 10 Jul 2007 08:03:10 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 1263 invoked by uid 99); 10 Jul 2007 08:03:09 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jul 2007 01:03:09 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of james.strachan@gmail.com designates 66.249.82.231 as permitted sender) Received: from [66.249.82.231] (HELO wx-out-0506.google.com) (66.249.82.231) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jul 2007 01:03:06 -0700 Received: by wx-out-0506.google.com with SMTP id i30so1199596wxd for ; Tue, 10 Jul 2007 01:02:46 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IFpU/an4RS5x7PGuxt61czBdlXrviQ6bxeFNSY9KffTe+TBBc/ncNjXuEEudO6aPsvbby/vXNE74p3MPJOIWAPqM9l5ve8McqfcNCtLzRYwMyy40myhZ/bNm/bxuC+aPTlhCMMrUMi177gp0pWjDpAxpx3XCIEaQhJxyVlTaEiE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GvJ+sIyDl3jm4UgNdt3cd9S/eek7XOyiAKYLfoZlT/JrN+jSC2QqSHE+JEhQIJSCkiTLBOCMinLIV4Hq3Oa0DTtcBi34IIYDRgTI7c/THvjsOrtv2qaYvVbPJYSFqTQCDPmw5D7ZokDsMGj9cjMGwcl9lvZo6+ZYz93yTr0HxlE= Received: by 10.90.69.8 with SMTP id r8mr2616406aga.1184054566084; Tue, 10 Jul 2007 01:02:46 -0700 (PDT) Received: by 10.90.63.14 with HTTP; Tue, 10 Jul 2007 01:02:46 -0700 (PDT) Message-ID: Date: Tue, 10 Jul 2007 09:02:46 +0100 From: "James Strachan" To: dev@activemq.apache.org Subject: Re: Multiple broker instances In-Reply-To: <11516374.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <11463210.post@talk.nabble.com> <11516374.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org On 7/10/07, bobsponge wrote: > Hello James, > > I need two or more brokers working at the same time in the same machine > because the application is composed of several machines (nodes). Every node > belongs to a group. In general data is transferred between nodes from the > same group, no problem. But a node can bind to another group so the same > node can communicates with two (or more) groups. The information must > separately persists in this node so two brokers are needed, because of the > persistence issues... I still don't get it; why 2 brokers in the same JVM on the same box? Usually for high performance a broker persists to the local hard drive; so I don't understand the benefit from having 2 different brokers writing to 2 different directories (or even different DBs) > I tried to configure the brokers with different names building an URI like > this: tcp://localhost:50000?broker.brokerName=broker1 , but it didn't work > at all. You configure the broker names in the activemq.xml. See the brokerName atttribute in the one that comes with the binary distro -- James ------- http://macstrac.blogspot.com/