Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 20484 invoked from network); 8 Jun 2007 15:37:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Jun 2007 15:37:55 -0000 Received: (qmail 56003 invoked by uid 500); 8 Jun 2007 15:37:59 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 55979 invoked by uid 500); 8 Jun 2007 15:37:58 -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 55966 invoked by uid 99); 8 Jun 2007 15:37:58 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jun 2007 08:37:58 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: 146.232.64.12 is neither permitted nor denied by domain of fullung@gmail.com) Received: from [146.232.64.12] (HELO mail1.sun.ac.za) (146.232.64.12) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jun 2007 08:37:54 -0700 Received: from lunglet.farside.sun.ac.za ([146.232.133.168] helo=lunglet) by mail1.sun.ac.za with smtp (Exim 4.50) id 1HwgWo-00052I-BQ for dev@activemq.apache.org; Fri, 08 Jun 2007 17:37:31 +0200 Message-ID: <001201c7a9e2$a92fbe90$0100a8c0@sun.ac.za> From: "Albert Strasheim" To: References: <20070524201840.GA13624@dogbert.sdsl.sun.ac.za> <20070531221159.GA15760@dogbert.sdsl.sun.ac.za> Subject: Re: Consumers, noLocal, Stomp and Openwire Date: Fri, 8 Jun 2007 17:35:36 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Virus-Checked: Checked by ClamAV on apache.org Hello all Thanks for the feedback. The mistake was on my end. I was creating two consumers on the same Stomp connection, the first with noLocal=false and the second with noLocal=true. Because I was using Stomp, only the first consumer's settings have any effect (same thing as with selectors). When I changed my code to only create one consumer with noLocal=true, things worked as expected, i.e., my consumer didn't receive message sent by the producer on the same connection. Cheers, Albert ----- Original Message ----- From: "Hiram Chirino" To: Sent: Thursday, June 07, 2007 12:16 AM Subject: Re: Consumers, noLocal, Stomp and Openwire > Technically, the no local option is supported on the STOMP subscribe > frame so I'm not sure why it's not supported by the c++ client. > > On 5/31/07, Albert Strasheim <13640887@sun.ac.za> wrote: >> Hello all, >> >> Does anybody have any thoughts on this? I'd like to get a final answer >> so that I can write the tests for my Python wrapper for AMQCPP >> accordingly.