There is a consumer option called 'noLocal' (e.g.,
TEST.Q?consumer.noLocal=true). 

When set to ‘true’, it prohibits delivery of messages produced on the same
connection.   

Joe
www.ttmsolutions.com


Oleg Deribas-5 wrote:
> 
> Hello,
> 
> I'm connecting to ActiveMQ 5.0 with the latest SVN version of NMS 
> client. I have one connection with session opened and message consumer 
> listening to the topic. When I'm sending messages to this topic, 
> consumer is receiving these messages.
> 
> Is it possible to avoid receiving messages which was sent from the same 
> connection/session?
> 
> -- 
> Oleg
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/NMS%3A-How-to-avoid-receiving-my-own-messages--tp15605207s2354p15618958.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to