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

Re: [xmlblaster] New xmlBlaster session handling



Here is an example of a fully specified callback QoS:

-------------------------------------------------------------
<callback type='XML-RPC' sessionId='4e56890ghdFzj0'
          pingInterval='60000' retries='5' delay='10000'
          useForSubjectQueue='true'>

   http://server:8080/cb

   <compress type='gzip' minSize='1000'/>
   <burstMode collectTime='400'/>

</callback>
-------------------------------------------------------------

* Use XmlRpc to callback, on error retry 5 times
  pausing 10000 millis (10 sec) between retries

* Deliver the given sessionId with update() to the client so that
  the client can trust us.

* Ping the client every 60000 millis (one minute) to check if he
  is alive.

* The given callback may be used by the subjectQueue as well

* Compress messages bigger 1000 bytes before sending them to me.

* Collect messages for 400 milliseconds and update them in one
  callback (burst mode)

All have configurable default values.

Heinrich & Cyrille are you happy with it?


Marcel


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