@Bean public IntegrationFlow sftpSessionCallbackFlow() { return f -> f .<String>handle((p, h) -> sftpRemoteFileTemplate().execute(s -> s.list(p))) .channel(c -> c.queue("sftpLsResult")); }
@Bean public IntegrationFlow sftpSessionCallbackFlow() { return f -> f .<String>handle((p, h) -> sftpRemoteFileTemplate().execute(s -> s.list(p))) .channel(c -> c.queue("sftpLsResult")); }