Auto ftp 2.0.42/4/2023 ![]() INFO FtpSession.read(79) | File has been successfully transfered from: /FTPManifestSrcDev/R2_2a/FTPManifestSrcDev/ABC_808_2017_02_22_07_50_01_102_02.txt PFB the logs when there were 6 files in ftp location DEBUG DefaultFtpSessionFactory.createClient(158) | Connected to server ![]() I want only 5 files to be transferred to my server at first polling and on the second polling it should pick the last one My problem is that if we have 6 files in the ftp location, all the 6 files are transferred to the server location at first poll itself (according to max message per poll = 5, it should only pick 5 files from Ftp location ) and the payload is formed for only 5 files. I have configured max-messages-per-poll as 5 and polling to be done at every even minute (using cron expression). ![]() I am using ftp-inbound-channel-adapter (Spring integration - 2.0.4) for achieving it. ![]() I have UC where I need to pick the files from ftp location and place it into the server location ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |