[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xmlblaster] publish/subscribe and queueing
Mathieu Longtin wrote:
So I could give a timeout to all the messages as I insert them?
The qos of a publish may have an expiration time (millis):
<qos>
<expiration timeToLive='12000' />
</qos>
If you use Java to publish, there is a method
org.xmlBlaster.client.PublishQosWrapper: setTimeToLive(long millis)
which you can use instead of writing the raw XML yourself.
The bad thing is, that the server ignores it.
Development is under way.
Marcel
--
Marcel Ruff
mailto:ruff at swand.lake.de
http://www.lake.de/home/lake/swand/
http://www.xmlBlaster.org