Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.2.0
-
None
-
None
Description
Currently the SimplePullPointCreation registers a default message listener of *. This captures all messages sent from that Muse instance. This is against the spirit of a pull point.
Suggested fix is to check return a null filter object by default from SimplePullPoint.getFilter. Then PPCreation can check if the filter is the null object. If so it doesn't add a default filter. This preserves the notion of a default subscription for a pullpoint but also provides expected behaviour.
Further specific subscriptions can be added as per normal with a subscription client.
The existing SimplePullPoint is kept as-is for binary compatibility, a SubscriptionPullPoint class is added to provide this functionality. NullFilter is added to the WsnConstants class.