Salut Richard,

[EMAIL PROTECTED] wrote:
> Hi,
> 
> Regarding the "admin.event" REQ, it seams possible to use the EventNames
> :client/[subjectId]/session/[publicSessionId]/event/subscribe and
> client/[subjectId]/session/[publicSessionId]/event/unSubscribe
> which enable to capture a specific client which subscribes/unsubscribe.
> 
> As a result I have two questions :
> 1- Can the wildcard be used to mention a client that name starts with a
> sequence. For exemple using the EventName syntax
> client/joe*/session/1/event/subscribe.
No it is not possible, the wildcard is very simple: it just allows
everything, your example would not result in anything but:
client/*/session/1/event/subscribe
would give everything back.
If you want a finer selection I would suggest to subscribe with the
wildcard and then add a Mimeplugin (probably xpath, regex or sql92 would
do fine here) to the subscription to only receive what specified in your
plugin.

See the requirements for the mime plugins mentioned above:

http://www.xmlblaster.org/xmlBlaster/doc/requirements/mime.plugin.access.regex.html
http://www.xmlblaster.org/xmlBlaster/doc/requirements/mime.plugin.access.xpath.html
http://www.xmlblaster.org/xmlBlaster/doc/requirements/mime.plugin.access.sql92.html

Regards
Michele

> 2- Is there a mean to exclude some subjectIds instead of capture all
> subjectId using wildcard '*'. If yes what's the syntax ?
> 
> Thanks,
> 
> Richard.
> 

Reply via email to