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

[xmlblaster] Ptp/Subscribe (Bug ?)



Hello,

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:
login="Ulrike")
		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:
login="Kgb")
		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
Ulrike).

I expected that only the specialized cb of Ulrike would be called.. 

So is it possible to do that ? If yes how ?

Thanks,

Xavier.

Attachment: TestPtD.java
Description: Binary data