Uploaded image for project: 'Muse'
  1. Muse
  2. MUSE-294 Collective WS-N / Core improvements
  3. MUSE-295

Pull-Points should not subscribe to all. Its the job of the subscriptions to decide what is subscribed.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.2.1
    • 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.

      Attachments

        Activity

          People

            c_twiner Chris Twiner
            c_twiner Chris Twiner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: