docs: private void addConsumerForKnownTopicExpr(
      String topic, 
      boolean selector, 
      boolean isWildcarded,
      MonitoredConsumer mc,
      boolean matchedOnSelector)
    {
      if (tc.isEntryEnabled())
          SibTr.entry(
            tc,
            "addConsumerForKnownTopicExpr",
            new Object[] { topic,
                           new Boolean(selector),
                           new Boolean(isWildcarded),
                           mc,
                           new Boolean(matchedOnSelector) });
                            
      ArrayList consumerList = null;
      if(matchedOnSelector)
      { 
        consumerList = 
          _subscriptionRegistrar.getConsumerListForExpression(topic, selector, isWildcarded);                              
      }
      else
      {
        consumerList = 
          _subscriptionRegistrar.getConsumerListForExpression(topic, !selector, isWildcarded);      
      }
  
      // This topic expression has already been categorised
      if (tc.isDebugEnabled())
        SibTr.debug(tc, "Found existing entry with list: " + consumerList +
                          ", of size: " + consumerList.size());
        
      // Retrieve the list of matching registered consumer monitors from
      // an existing consumer
      MonitoredConsumer existingmc = (MonitoredConsumer)consumerList.get(0);
      // And add to the new consumer
      ArrayList exactMonitorList = (ArrayList)existingmc.getMatchingExactMonitorList();
      mc.setMatchingExactMonitorList(exactMonitorList);
      ArrayList wildcardMonitorList = (ArrayList)existingmc.getMatchingWildcardMonitorList();
      mc.setMatchingWildcardMonitorList(wildcardMonitorList);      
        
      // Add the new consumer to the list in the row from the table of subscriptions
      if(matchedOnSelector)
      {     
        consumerList.add(mc);
      }
         
      // Finally, add this consumer to the appropriate places in the registered
      // consumer monitors tables
      _consumerMonitorRegistrar.
        addConsumerToRegisteredMonitors(mc,exactMonitorList,wildcardMonitorList);
  
      
      if (tc.isEntryEnabled())
        SibTr.exit(tc, "addConsumerForKnownTopicExpr");
  
    }