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

[xmlblaster] Login/Logout event



Hi,

I launch two Clients in "FailSafe" mode.
One of the clients subscribes to the "sys_login" queue with the option
"wantinitialupdate=true". 

If, I stop XMLBLASTER and I relaunch it later. The two clients detect that
xmlblaster is down.
And they succeeded in being connected again to xmlblaster . GREAT!!!!!!

Unfortunately, the client which subscribed to the queue "sys_login", does
not always receive two messages
As I expected.


Below is the "dump state" of xmlblaster


  <MapPlugin id='msgUnitStore:xmlBlaster/__sys__Login' type='RAM'
version='1.0' numOfEntries='2' numOfBytes='445'>
    <persistence relating='msgUnitStore' maxMsg='100000000'
maxMsgCache='10000'/>
   </MapPlugin>
   <RamQueuePlugin id='history:xmlBlaster/__sys__Login' type='RAM'
version='1.0' numOfEntries='2' numOfBytes='72'>
    <queue relating='history' maxMsg='2' maxMsgCache='2'/>
   </RamQueuePlugin>
   <MsgUnitWrapper id='__sys__Login/2003-03-19 17:31:37.884000003'
referenceCount='1' state='ALIVE'>
     <key oid='__sys__Login'/>
      <content><![CDATA[XRO-agent]]></content>
     <qos>
 
<sender>/node/xmlBlaster/client/__RequestBroker_internal[xmlBlaster]</sender
>
      <expiration lifeTime='-1'/>
      <rcvTimestamp nanos='1048091497884000003'/>
      <forceUpdate/>
     </qos>
   </MsgUnitWrapper>
   <MsgUnitWrapper id='__sys__Login/2003-03-19 17:31:37.884000003'
referenceCount='1' state='ALIVE'>
     <key oid='__sys__Login'/>
      <content><![CDATA[server]]></content>
     <qos>
 
<sender>/node/xmlBlaster/client/__RequestBroker_internal[xmlBlaster]</sender
>
      <expiration lifeTime='-1'/>
      <rcvTimestamp nanos='1048091497884000003'/>
      <forceUpdate/>
     </qos>
   </MsgUnitWrapper>


I noticed that the "history/maxMsg" of the queue sys_login is equal to 2.
How can I change it ?
How can I be sure that I will receive two messages from the queue
"Sys_login" ?

Thanks,

Xavier