code: private String getConnectionFactoryName(String beanName) {
  		if (beanName.length() > CONNECTION_FACTORY_SUFFIX.length()
  				&& StringUtils.endsWithIgnoreCase(beanName, CONNECTION_FACTORY_SUFFIX)) {
  			return beanName.substring(0,
  					beanName.length() - CONNECTION_FACTORY_SUFFIX.length());
  		}
  		return beanName;
  	}
docs: Get the name of a ConnectionFactory based on its {@code beanName}.
  @param beanName the name of the connection factory bean
  @return a name for the given connection factory