code: public void removeMessageListener(Class<? extends Message> messageClass,
                                        MessageListener<Message> messageListener) {
          removeMessageListener(messageListener.getChannelIdentifier(), messageClass, messageListener);
      }
docs: Remove a generic message listener from listening to a specific type of message.
  @param messageClass Message class to stop listening to.
  @param messageListener (Generic)Listener to remove from the listener list for the given messageClass.