Package org.springframework.integration.config

Examples of org.springframework.integration.config.ConsumerEndpointFactoryBean.afterPropertiesSet()


        bridgeFactoryBean.setInputChannel(previousOutputChannel);
        bridgeFactoryBean.setHandler(handler);
        try {
          // TODO: might not be necessary to pass this context, but the FB requires non-null
          bridgeFactoryBean.setBeanFactory(this.context.getBeanFactory());
          bridgeFactoryBean.afterPropertiesSet();
          AbstractEndpoint endpoint = bridgeFactoryBean.getObject();
          endpoints.add(endpoint);
          this.context.getBeanFactory().registerSingleton("bridge-" + i, endpoint);
          endpoint.setComponentName("bridge-" + i);
          endpoint.afterPropertiesSet();
View Full Code Here


    cefb.setBeanFactory(getBeanFactory());
    if (from instanceof PollableChannel) {
      cefb.setPollerMetadata(poller);
    }
    try {
      cefb.afterPropertiesSet();
    }
    catch (Exception e) {
      throw new IllegalStateException(e);
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.