[
https://issues.apache.org/jira/browse/MUSE-264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12520348
]
c_twiner edited comment on MUSE-264 at 8/16/07 11:05 PM:
-------------------------------------------------------------
Note this can lead to NPEs in ProducerPropertiesFilter since the resource isn't
set. I assume that it is not a heavily used feature (I need it for SLA
enforcement on metrics etc), if people need a simple workaround for 2.2.0 (just
the ProducerPropertiesFilter issue) feel free to email me.
As a long term solution it may be better to introduce a
processProducer(NotificationProducer) function into the Filters. TopicFilter
can use it directly, and ProducerProperties can use it to call getWsResource().
That would do away with the instanceofs. This would allow further handling to
be pluggable with the FilterFactory handlers rather than new releases or
deriving from ProducerPropertiesFilter
was (Author: c_twiner):
Note this can lead to NPEs in ProducerPropertiesFilter since the resource
isn't set. I assume that it is not a heavily used feature (I need it for SLA
enforcement on metrics etc), if people need a simple workaround for 2.2.0 (just
the ProducerPropertiesFilter issue) feel free to email me.
> FilterCollections not supported with the "HACKS" in SimpleNotificationProducer
> ------------------------------------------------------------------------------
>
> Key: MUSE-264
> URL: https://issues.apache.org/jira/browse/MUSE-264
> Project: Muse
> Issue Type: Bug
> Components: WSN NotificationProducer
> Affects Versions: 2.2.0
> Reporter: Chris Twiner
> Assignee: Dan Jemiolo
> Fix For: 2.3.0
>
> Attachments: producer.diff
>
>
> Any subsciption that is made remotely (e.g. via subscribe method on a proxy)
> creates a FilterCollection and passes it into the SimpleNotificationProducer
> subscribe method.
> The code in SimpleNotificationProducer should support the subscription of a
> FilterCollection in both subscribe and in addSubscription (from persisted
> subscriptions).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]