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

Re: [xmlblaster] EventPlugin - ConnectQos client properties forwarding



Hi,

Does this mean there is no easy way to use filters on ClientProperties for system events ?

Is the XPath access filter plugin working with ClientProperties ?! If so, it should be simple enough to write an access filter with an XPath expression right?

Thanks for your support!

Nelson Silva

Marcel Ruff wrote:
Nelson Silva wrote:
Hi,

We need to have sessions but not user sessions. We're adding a clientProperty called 'OurSessionID" with Sql92 filtering , which might be moved to the topic with XPath subscriptions.
This way we can have multiple sessions in a single xmlBlaster server. These are similar to rooms, only users in the same room can see messages of a given topic.
Our problem now has to do with login/logout notifications.


We'd like to notify users whenever someone enters their session. For that i've put the clientProperty in the ConnectQos, but it seems the EventPlugin discards these properties..

We have also considering developing a xmlBlaster plugin for this purpose, so that we can list sessions, number of users in a given session, etc ..

Is there any solution for our problem or any way to implement this sort of functionality ?
Hi Nelson,

this information is delivered in the published event message in a client property
called "_description".


Note that it is the complete ConnectQos XML markup, so
you need to extract the client property yourself or use
our ConnectQosSaxFactory.java to parse it.

regards
Marcel

Regards,

   Nelson Silva