code: public void prepareEndPoint(CFEndPointImpl endpoint) throws ChannelFrameworkException {
          if (null == endpoint.getOutboundChainData()) {
              VirtualConnectionFactory vcf = getOutboundVCFactory(endpoint.getOutboundChannelDefs());
              endpoint.setOutboundVCFactory(vcf);
              endpoint.setOutboundChainData(getChain(vcf.getName()));
          }
      }
docs: Prepare the factory and the chain for the provided endpoint.
  
  @param endpoint
  @throws ChannelFrameworkException