Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6780817

EventClient.addListeners() + ListenerInfo with isSubscription=false doesn't work

XMLWordPrintable

      I use the EventClient to fetch notifications with RMI.
      On server side MBean are created and deleted and the client registers for MBean registration and unregistration notifications.
      When I add the listener thanks the method addListeners and with isSubscription=false in the single ListenerInfo of the Collection, my client doesn't receive anything.
      But if the only change done to test code is:
      set isSubscription to true,
      or use the other EventClient method subscribe,
      or use the other EventClient method addNotificationListener,
      then all goes well.

            sjiang Shanliang Jiang (Inactive)
            yjoan Yves Joan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: