activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Albert Strasheim" <full...@gmail.com>
Subject Re: Consumers, noLocal, Stomp and Openwire
Date Fri, 08 Jun 2007 15:35:36 GMT
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" <hiram@hiramchirino.com>
To: <dev@activemq.apache.org>
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.


Mime
View raw message