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

Re: [xmlblaster] publish/subscribe and queueing



Cyrille Giquello wrote:
Mathieu Longtin a écrit :


So could one clean up the queue with some other client process?


A client can delete key with XPath, but today, you can't XPath querying Qos. And timeout of messages is encoded in the Qos...

Marcel !
Have you got a idea ?

Any nasty trick is allowed, since this is obsolete in some weeks. This killer client could subscribe as all others do, put the messages in a TreeMap sorted by expiry and then erase() the old messages.

Marcel





--
Marcel Ruff
mailto:ruff at swand.lake.de
http://www.lake.de/home/lake/swand/
http://www.xmlBlaster.org