docs: public void addConsumerToMonitorList(
      String registeredTopic,
      Map registeredMonitors,
      MonitoredConsumer mc,
      boolean isWildcarded)
    {
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
          SibTr.entry(
            tc,
            "addConsumerToMonitorList",
            new Object[] { registeredTopic,
                           registeredMonitors,
                           mc,
                           new Boolean(isWildcarded) });
  
      RegisteredCallbacks rMonitor =
       (RegisteredCallbacks)registeredMonitors.get(registeredTopic);
  
      // Null monitor, really shouldn't happen, unless our locking model
      // has gone wrong (perhaps)
      if(rMonitor == null)
      {
        // Monitor map inconsistency
        // Build the message for the Exception
        String mapType = "exact";
        if(isWildcarded)
        {
          mapType = "wildcard";
        }
  
        // Build the message for the Exception
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
          SibTr.exit(tc, "addConsumerToMonitorList", mapType + ":" + registeredTopic);
  
        SibTr.error(tc, "INTERNAL_MESSAGING_ERROR_CWSIP0005",
          new Object[] {
            "com.ibm.ws.sib.processor.matching.ConsumerMonitorRegistrar",
            "1:844:1.10",
            mapType + ":" + registeredTopic });
        throw new SIErrorException(
          nls.getFormattedMessage(
            "INTERNAL_MESSAGING_ERROR_CWSIP0005",
            new Object[] {
              "com.ibm.ws.sib.processor.matching.ConsumerMonitorRegistrar",
              "1:851:1.10",
              mapType + ":" + registeredTopic },
            null));
      }
  
      // Get the list of matching consumers
      ArrayList matchingConsumerList = rMonitor.getMatchingConsumers();
  
      // Handle the driving of the callbacks
      if(matchingConsumerList.isEmpty())
      {
        // This is a transition from 0 -> 1 consumer for this monitor.
        // Therefore we need to drive a callback
        driveRegisteredCallbacks(rMonitor, false);
      }
  
      // Add consumer to list
      matchingConsumerList.add(mc);
  
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.exit(tc, "addConsumerToMonitorList");
  
    }