code: public void addMessageSelectorFactory(MessageSelectorFactory<?> factory) {
          if (factory instanceof BeanFactoryAware) {
              ((BeanFactoryAware) factory).setBeanFactory(beanFactory);
          }
  
          this.factories.add(factory);
      }
docs: Add message selector factory to list of delegates.
  @param factory