code: public void removeConsumerSetMonitors(ConnectionImpl connection)
    throws SINotPossibleInCurrentConfigurationException
    {
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.entry(tc, "removeConsumerSetMonitors", new Object[] { connection });
  
      // Locate the connection in the callback index
      if(_callbackIndex.containsKey(connection))
      {
        // Have found registered callbacks for this connection
        Map connMap = (HashMap)_callbackIndex.get(connection);
  
        // Iterate through the map removing individual callbacks
        Iterator i = connMap.entrySet().iterator();
        while (i.hasNext())
        {
          Map.Entry entry = (Map.Entry)i.next();
          ConsumerSetChangeCallback callback = (ConsumerSetChangeCallback)entry.getKey();
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
            SibTr.debug(tc, "Found registered callback: " + callback);
  
          // Locate the TopicRecord for the callback
          TopicRecord tRecord = (TopicRecord)entry.getValue();
          if(tRecord != null)
          {
            // Have found the callback in the index, now remove the callback from
            // the appropriate registered monitors table.
            if(tRecord.isWildcarded)
            {
              removeCallbackFromRegisteredMonitors(callback,
                                                   tRecord.topicExpression,
                                                   true, // isWildcarded
                                                   _registeredWildcardConsumerMonitors);
            }
            else
            {
              // Handle the non-wildcard case
              removeCallbackFromRegisteredMonitors(callback,
                                                   tRecord.topicExpression,
                                                   false, // isWildcarded
                                                   _registeredExactConsumerMonitors);
            }
          }
        }
      }
  
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.exit(tc, "removeConsumerSetMonitors");
    }
docs: Method removeConsumerSetMonitors
  
  Removes all callbacks associated with a connection.
  
  @param connection
  @throws SINotPossibleInCurrentConfigurationException