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

Re: [xmlblaster] EventPlugin



Nelson Silva wrote:
Hi,

I'm having a problem receiving login and logout events
Using this plugin configuration

  <plugin id='messageEvents' className='org.xmlBlaster.engine.EventPlugin'>
     <action do='LOAD' onStartupRunlevel='8' sequence='4'/>
     <action do='STOP' onShutdownRunlevel='7' sequence='4'/>
     <attribute id='eventTypes'>
          client/*/session/*/event/connect,
          client/*/session/*/event/disconnect
     </attribute>
     <attribute id='destination.publish'/>
     <attribute id='destination.jmx'/>
  </plugin>


and this event listener . java javaclients.HelloWorldSubscribe -oid __sys__Event

works fine here, could you please retry?

Which xmlBlaster version do you use?

regards
Marcel

I've setup the plugin and it's started with the server:

[27/Mar/2006 17:01:52 INFO XmlBlaster.MainThread org.xmlBlaster.engine.EventPlugin.init] Configured to send core events of type
'client/*/session/*/event/connect
client/*/session/*/event/disconnect' to 'destination.publish:destination.jmx:'



I them have two clients connect at different times and subscribe to __sys__Event with the following key:


<key oid='__sys__Event' contentMime='text/plain'></key> and qos:
<qos>
 <erase forceDestroy='false'/>
 <local>false</local>
</qos>

But the events are not being sent as messages!

I have other topics working with these same clients, so callbacks are working...

Any ideas ?

Regards,

   Nelson Silva