bridgeFactoryBean.afterPropertiesSet();
AbstractEndpoint endpoint = bridgeFactoryBean.getObject();
endpoints.add(endpoint);
this.context.getBeanFactory().registerSingleton("bridge-" + i, endpoint);
endpoint.setComponentName("bridge-" + i);
endpoint.afterPropertiesSet();
}
catch (Exception e) {
throw new IllegalStateException("failed to start bridge for CompositeModule", e);
}
}