[ http://issues.apache.org/jira/browse/MUSE-122?page=comments#action_12439275 ] Dan Jemiolo commented on MUSE-122: ----------------------------------
I think this may break 2.0 code - we'll need to make subscribe( ) and SubscriptionManager use a Filter[] *or* add a FilterExpression piece to the Filter API. I think we can make the *interfaces* backwards compatible with 2.0, but the FilterFactory and Filter implementations will change with the introduction of expressions. I think this has to wait for post-2.1. As a workaround - it is often possible to express mutliple filters in one filter. The only impossible scenario is combining a properties filter with a topic or message filter; the other two can be combined into a single message filter using XPath. > Notification producer doesn't support multiple filters > ------------------------------------------------------ > > Key: MUSE-122 > URL: http://issues.apache.org/jira/browse/MUSE-122 > Project: Muse > Issue Type: Improvement > Components: WSN NotificationProducer > Affects Versions: 2.1.0 > Environment: any > Reporter: Mohammad Fakhar > Assigned To: Dan Jemiolo > > WS-N 1.3 spec says that multiple filter children are allowed on the subscribe > request, all of which combine to evaluate to a boolean: > "The Filter component is the means by which a Subscriber expresses the subset > of > Notifications that the NotificationConsumer should receive. This subset is > expressed by the > child elements of the Filter. The child elements are a sequence of zero or > more expressions > evaluating to a Boolean that constrain the set of possible Notifications." > However, currently muse only supports one filter. To confirm with spec, it > should support multiple filters. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
