[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [xmlblaster] Publish/Topic clobbering with multiple clients ( found my problem)
The problem was appearing when a client is disconnected and reconnected w/o
restarting xmlBlaster. It seems to be that I was (incorrectly) erasing the
key upon client shutdown:
(I don't really understand what the comment here is saying. What is meant
by "it", the oid? )
// only erase since we don't check if it exists on init
EraseKey ek = new EraseKey(glob, oid);
EraseQos eq = new EraseQos(glob);
EraseReturnQos[] eraseArr = con.erase(ek.toXml(), eq.toXml());
The behavior I noticed when this was run on one client with another still
connected and subscribed was:
If my client runs the erase code above and re-connects doing all it's init
code, it will receive updates on the topic but when it publishes, the other
client(s) which remained connected no longer receives it's updates.
Is this the expected behavior in this scenario? Just trying to further my
understanding...
Colin