Marcel Ruff
Tue, 17 Jun 2008 00:29:01 -0700
Paul Babyak wrote:
Hi Michele.Could you explain a difference between ConnectQos.setPersistent() and PublishQos.setPersistent()?
ConnectQos.setPersistent(true): Now your login session is persisted. On xmlBlaster server restart the session is loaded early in Runlevel 2.Like this, for example persistent subscriptions are available and incoming messages where
the subscription matches are collected even that the real client has not yet connected. PublishQos.setPersistent(true):The message published will survive any crash/power loss/shutdown of any involved client or server.
What happen if i set persistent for PublishQos and do not set for ConnectQos (and vice versa)?
They are not directly related, see above, enjoy Marcel
-- Marcel Ruff http://www.xmlBlaster.org http://watchee.net Phone: +49 7551 309371