[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xmlblaster-devel] Subscribing and publishing to the same topic



inEvo wrote:
Hi,

Is there a way to prevent a client from receiving messages published by him?!
This happens when i subscribe to a given topic and then publish a message with that same topic...

In subscribe QoS:

  <local>false</local>
or
  subscribeQos.setWantLocal(false);

does the magic, see:

  http://www.xmlblaster.org/xmlBlaster/doc/requirements/interface.subscribe.html

regards,

Marcel





--
http://www.xmlBlaster.org