Spring Integration DSL History issue
问题 I have to setup the flows dynamically. Example: @Component @Slf4j public class FTPFlow { @Autowired private IntegrationFlowContext integrationFlowContext; @EventListener(ApplicationReadyEvent.class) public void setup(){ integrationFlowContext.registration(flow()).register(); } public IntegrationFlow flow() { DefaultFtpSessionFactory defaultFtpSessionFactory = new DefaultFtpSessionFactory(); defaultFtpSessionFactory.setHost("localhost"); defaultFtpSessionFactory.setPort(252);