[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xmlblaster] Ptp/Subscribe (Bug ?)
this is not a bug. It is a new feature. It is now possible to subscribe
to a PtP message: that's why the KGB is allowed to read a love letter ;)
If you want to be sure it is not visible to subscribers you can add
in the PublishQos (see the following requirement)
Xavier Roques wrote:
I changed the file "testPtd.java" (See attached file)
Now this test does the following step :
1) Creates Receiver1 (a default cb is provided during the connect:
Ulrike subscribes to the oid "Request" (a specialized cb is
provided to the method "Subscribe" (Class myListener))
2) Creates Receiver2 (A default cb is provided during the connect:
Receiver2 subscribes to the oid "Request" (A specialized cb
is provided to the method "Subscribe" (Class myListener))
3) Creates Sender
4) The sender sends a Ptp message to the "Ulrike" (Oid = "Request")
The result is really Strange:
The default cb of each receiver is called ? (It is a PTP message).
The specialized cb of "KGB" is called ??? (The message was sent to
I expected that only the specialized cb of Ulrike would be called..
So is it possible to do that ? If yes how ?
mailto:laghi at swissinfo.org
tel. +46 8 7492952 / mob. +46 70 4103964