Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 29114 invoked from network); 11 Nov 2006 01:59:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Nov 2006 01:59:37 -0000 Received: (qmail 37532 invoked by uid 500); 11 Nov 2006 01:59:41 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 37514 invoked by uid 500); 11 Nov 2006 01:59:41 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 37504 invoked by uid 99); 11 Nov 2006 01:59:41 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Nov 2006 17:59:41 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Nov 2006 17:59:27 -0800 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1Gii9D-0005Mt-7g for activemq-users@geronimo.apache.org; Fri, 10 Nov 2006 17:59:07 -0800 Message-ID: <7288600.post@talk.nabble.com> Date: Fri, 10 Nov 2006 17:59:07 -0800 (PST) From: sgliu To: activemq-users@geronimo.apache.org Subject: Re: Topic In Visual C++,Who can help me? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: shengguo@sina.com References: <7272366.post@talk.nabble.com> <7273821.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Example in http://www.activemq.org/site/cms.html I only change destination = session->createQueue( "TEST.FOO" ); into destination = session->createTopic( "mytopic" ); In producer and consumer,I both change it. I also changed HelloWorldProducer producer( 1000 ); into HelloWorldProducer producer( 1); Programe run no error.But I see nothing in consumer,see nothing prompt message in producer also. J2SE 5.0 Monitoring & management Consol prompt: In ActiveMQ.Advisory.Consumer.Topic.mytopic ConsumerCount=0,DequeueCount=0,QueueSize=0 these code , queue sucess,but topic ? How can I do? ---------------------------------------------------------------------------------------------------------------------------------- James.Strachan wrote: > > On 11/10/06, sgliu wrote: >> >> but how create topic? >> Only change createQueue() to createTopic()? > > Yes > >> I try it,but not succeed. > > What happens? > >> (can send ,but can not receive) > > Try looking in the JConsole or Web Console or the Visualisation Plugin > to see who's producing and consuming from what destinations. > > http://activemq.org/site/how-can-i-monitor-activemq.html > -- > > James > ------- > http://radio.weblogs.com/0112098/ > > -- View this message in context: http://www.nabble.com/Topic-In-Visual-C%2B%2B%2CWho-can-help-me--tf2606196.html#a7288600 Sent from the ActiveMQ - User mailing list archive at Nabble.com.