[jira] (MILYN-662) AbstractParser not closing source stream; Camel route fails on open file.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] (MILYN-662) AbstractParser not closing source stream; Camel route fails on open file.

JIRA jira@codehaus.org
Message Title
Tom Fennelly commented on an issue
Milyn / Bug MILYN-662
AbstractParser not closing source stream; Camel route fails on open file.
When used in a Canel route with a file source the route throws "java.io.IOException: Renaming file from: XXX to: XXX failed due cannot delete from file: XXX after copy succeeded" because the file is open and locked. There is no explicit close on the stream, so files remain open until GC cleans up. In high volume situations that can also cause resource sho...
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email