Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
4.5.0, 4.7.0
-
None
-
Occurs on Windows and linux
-
Unknown
Description
The Method
org.apache.camel.component.file.remote.SftpOperations#retrieveFileToStreamInBody executed operations in finally-block which potentially hides exceptions from try-block.
In my case i have an out of memory exception happening during reading the sftp-data, but i dont see it because changeCurrentDirectory() in the finally block throws another exception.
Attachments
Issue Links
- links to