We need to perform custom processing on the XML filter pattern whenever a subscription includes an XPath filter. Currently, Muse' MessagePatternFilter stores this pattern in a private attribute (_pattern) that has no getter method.
I tried subclassing MessagePatternFilterHandler, overriding the newInstance() method to perform the processing, and adding the subclass handler to the FilterFactory. However, it looks like the FilterFactory still uses the default MessagePatternFilterHandler instead of my subclass handler. I also thought of intercepting at the SubscriptionManager, but again was stopped by the private _pattern attribute. What is the best/preferred way to intercept the XPath string for new subscriptions in order to perform custom processing? -David -- View this message in context: http://www.nabble.com/Need-to-Subclass-Intercept-MessagePatternFilter-tf4388165.html#a12511139 Sent from the Muse User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
