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

[xmlblaster] persistance and graceful disconnect





Hi Marcel

How would I achieve this use case.

A client (socket) using a persistent connection and persistent subscription disconnects from the server gracefully. During this periond when the client is not available (ie shutdown for some maintenance) the server continues maintaining session and subscription queue. The client is then started again and connects to same sessionid and recv's messages published during period of downtime.

I have been trying with

  <qos>
<deleteSubjectQueue>false</deleteSubjectQueue>
<clearSessions>false</clearSessions>
</qos>

When calling disconnect()

Without much luck.

Regards

Martin