Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.11.0
-
None
-
Unknown
Description
In method storeFile(String name, Exchange exchange) of class org.apache.camel.component.jsch.ScpOperations the wrong reference of the required input stream is used (line 131). Should be
write(channel, file, is, cfg);
instead of
write(channel, file, exchange.getIn().getMandatoryBody(InputStream.class), cfg);