If I understand correctly you wish to have your subscriber send the message
to only some of the consumers subscribed to a topic. 

Muse has the idea of Filters for publishing. The consumer can specify the
filter it wants to be used by the subscription manager using the subscribe
method (on the SubscriptionClient) and passing to it a Filter (second
element). The Filter must implement the Filter interface in
org.apache.muse.ws.notification and must be serializable via XML. 

When the SubscriptionManager gets to publishing a message it checks if the
filter accepts it. If it doesn't then it is not published.

Not sure what your case is for rejection, but you might be able to pass
information about the client in the filter sent to the manager. Each client
from what I see in the source code, has it's own filter.


Giovanni Aiello wrote:
> 
> Hi all,
> is it possible to filter some subscriber/consumer during a notification?
> i.e. I hava a capability implementing a method that calls the
> "wsn.publish(_TOPIC_NAME, payload)" operation related to a topic. I don't
> want to send the notification to a consumer subscribed to the same topic.
> 
> Thanks, regards
> Giovanni
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-filter-subscribers-during-a-notification-tf4104673.html#a11673756
Sent from the Muse User mailing list archive at Nabble.com.


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

Reply via email to