on ‎2018 Nov 08 4:57 PM
Hi Experts,
I am working on the hot folder and have specified the folder names like input, peocrssed and errors in hot folders spring. Xml and I am expecting once we do ant clean all the same folder structure should get created automatically. In the specified path but it is not happening.
Thanks,
Request clarification before answering.
The folders should get created automatically after you restart the server. However, if you have already created them as per your configuration, they will not be recreated (i.e. deleted & created again). I hope your configurations are correct. You can check https://wiki.hybris.com/pages/viewpage.action?pageId=294094383 to compare your configurations.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Arvind Sir ! Thanks for the suggestion. I had forget to mention in my post that we are not using hybris hot folder OOTB, instead we are using the the spring integration hot folder. As we have to receive xml as a feed.
I created the the hot folder manually and also had some issue with configuration which i corrected and it started working now and files are being processed. I still did not found in any blog whether the folder structure would be created automatically or we have to create it manually in case of spring integration hot folders.
Now have another issue, i am using AcceptOnceFileListFilter in adapter inbound for filter the file. If a file withe name - Feed1 get processed first time successfully and moved to processed folder, now again if i am putting Feed1 in the input folder it will not get processed.
I found some link on expert and they are suggesting AcceptOnceFileListFilter does not allow to process file with same name. If i want to process file name with same name which filter should i use and what would be the implementation.
A server restart should reset it but I can understand that it may not be an option and also not a strategic solution.
Please check if https://stackoverflow.com/questions/45035243/spring-integration-unable-to-send-the-files-with-same-n... solves your problem.
I have not faced this situation so, I can just point you to some resources that I found as a result of Google search. Another link, although an old one, with a similar problem, is http://forum.spring.io/forum/spring-projects/integration/110807-disable-duplicate-files-filter-for-f...
If I remember correctly, the folders automcatically get created after hotfolder processes a file. Or, you can create them yourself.
At the minimum, you need to create the folder for the Input Channel, since this is where you will put/upload the files to be processed. The folders for the Output Channel can be created automatically.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.