I don't believe so - not with WSN 1.2. The latest version of WSN (1.3) 
uses the concept of filters (of which topic is one type), which would 
allow you to make that request in one call to subscribe(). We've 
implemented WSN 1.3 for Muse 2.0, but Muse 1.0 is based on WSDM 1.0, which 
is tied to WSN 1.2.

One thing you might try is to define your own custom topic and give it a 
wsnt:MessageType was wsrp:ResourcePropertyChangeNotification (check that 
identifier). You could then loop through the resource property collection 
at initialization time and register a callback for each property that 
published a change notification on this topic for each property change. 
The consumer could then register for this one topic and get all the RP 
change events. It's not the ideal system, but for WSN 1.2, it might get 
the job done.

Dan



"Pushkar Sachdeva" <[EMAIL PROTECTED]> wrote on 07/14/2006 
08:28:54 AM:

> Hi all,
> 
> I am using muse1.0 for my project. I am exposing a resource with say 40
> properties. Now, the consumer wants to subscribe for ValueChangeEvents 
for
> all these properties. Sending 40 requests is cumbersome!! Can a consumer
> subscribe for all theses properties in one shot .What I observed is that 
you
> can have only one topic expression in the Subscribe Request.
> 
> Is there a way to do so??
> 
> -Thanks and Regards
> Pushkar


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to