Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
3.0
-
None
-
Windows XP/JSE 6
Description
In the "processFileAndDelete(File aFile)" method of the org.apache.servicemix.components.file.FilePoller class, there is a finally block that contains a call to " workingSet.remove(aFile)". This is called regardless if the file should be deleted or not. Hence this works when the file is physically removed. If the file is not physically removed but is removed from the Set, this poller will pick up the same file(s) again and again in the "pollFile(final File aFile)" method. Maybe add a check in the finally block like this:
**************************
finally
*************************
-los
Attachments
Issue Links
- is superceded by
-
SM-776 Improve support for errors while processing jbi exchange and errors while deleting file
- Resolved