So Spring Integration 5 introduced the concept of a directory scanner for inbound channels and I'm keen to use this with my ftp channel.
However I'm not sure how to configure it with Java DSL. The docs say I can set the scanner on the scanner inbound-channel-adapter in xml. However, I'm using Spring Integration DSL via IntegrationFlow and it appears that I have no way of setting this directory scanner when taking this approach...
Is this true? Is there a way I can set the directory scanner with IntegrationFlow. I know I can move to using a more formal Java Config approach but I'd prefer not to as that would be a lot of work.