Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 63496 invoked from network); 19 Oct 2007 18:20:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Oct 2007 18:20:16 -0000 Received: (qmail 48854 invoked by uid 500); 19 Oct 2007 18:20:03 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 48833 invoked by uid 500); 19 Oct 2007 18:20:03 -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 48824 invoked by uid 99); 19 Oct 2007 18:20:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Oct 2007 11:20:03 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [199.105.164.5] (HELO smtpmail2.sensis.com) (199.105.164.5) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Oct 2007 18:20:06 +0000 Received: from dimstar3.ats.sensis.com ([172.21.1.34]) by smtpmail2.sensis.com with esmtp (Exim 4.50) id 1IiwOd-0001B0-OH for users@activemq.apache.org; Fri, 19 Oct 2007 14:16:36 -0400 Received: from corpatsmail1.ats.sensis.com ([172.21.1.88] helo=corpatsmail1.corp.sensis.com) by dimstar3.ats.sensis.com with esmtp (Exim 4.63) (envelope-from ) id 1IiwOI-0004qO-33 for users@activemq.apache.org; Fri, 19 Oct 2007 14:16:10 -0400 Received: from 172.21.6.29 ([172.21.6.29]) by corpatsmail1.corp.sensis.com ([172.21.1.88]) with Microsoft Exchange Server HTTP-DAV ; Fri, 19 Oct 2007 18:16:09 +0000 Received: from tbish-laptop.ats.sensis.com by corpatsmail1.corp.sensis.com; 19 Oct 2007 14:16:09 -0400 Subject: Re: Multicast Discovery connection From: Timothy Bish To: users@activemq.apache.org In-Reply-To: <13300083.post@talk.nabble.com> References: <13300083.post@talk.nabble.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Fri, 19 Oct 2007 14:16:08 -0400 Message-Id: <1192817768.5101.12.camel@tbish-laptop.ats.sensis.com> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 (2.10.3-4.fc7) X-Sensis-MailScanner-Information: Scanned at Sensis Corporation by MailScanner X-Sensis-MailScanner: Found to be clean X-Sensis-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (not cached, score=-4.032, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.55, BAYES_00 -2.60, CRM114_CHECK -0.19) X-Sensis-MailScanner-From: tim.bish@sensis.com X-Virus-Checked: Checked by ClamAV on apache.org The CPP client doesn't support discovery. Regards Tim On Fri, 2007-10-19 at 11:10 -0700, appi03 wrote: > > I am trying to use the multicast discovery protocol and having some trouble > with it. I think i have the broker configuration down. > > Client 1 (Producer) -> Broker 1 > discoveryUri="multicast://prod1"/> > > > > > Client 2 (Consumer) -> Broker 2 > discoveryUri="multicast://cons1"/> > > > > > > But I am not sure how to configure the client side. this is what I have. > > Client 1 > std::string brokerURI = > "tcp://localhost:61616" > "discovery:multicast://prod1" > "&transport.useAsyncSend=true"; > > ActiveMQConnectionFactory( brokerURI ); > > > Client 2: > std::string brokerURI = > "tcp://localhost:61616" > "discovery:multicast://cons1"; > > ActiveMQConnectionFactory( brokerURI ); > > So when I start the brokers, I can see the connection being established > between two brokers. But the client 2 never sees any messages produced by > cllient 1. > > I am sure it's the way I am configuring it. I can't seem to find any > documentation on how to configure the connection factory while using > discovery. > > If anyone has any idea please let me know. > > thanks, > arpit