org.apache.muse.ws.notification
Interface Filter
- All Superinterfaces:
- XmlSerializable
- All Known Implementing Classes:
- FilterCollection, MessagePatternFilter, ProducerPropertiesFilter, PublishAllMessagesFilter, TopicFilter
public interface Filter
- extends XmlSerializable
Filter is a data structure used by the WS-Notification Subscribe operation
to allow clients to control how many and what type of messages they receive
from a resource. Instances of this type will be used by a resource's WS-N
implementation to determine if a message that has been published should be
sent to a given subscriber.
WS-N v1.3 defines three filter types: message, topic, and properties. Each
is represented in Muse's default implementation of WS-N.
- Author:
- Dan Jemiolo (danj)
accepts
boolean accepts(NotificationMessage message)
- Parameters:
message
-
- Returns:
- True if the content of the message passes the filter tests (and,
consequently, should be sent to the subscriber that created the
filter).
Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.