You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "A. Engelmann (JIRA)" <ji...@apache.org> on 2013/07/24 12:43:48 UTC
[jira] [Created] (CAMEL-6571) Wrong InputStream reference is used
in method storeFile of class ScpOperations
A. Engelmann created CAMEL-6571:
-----------------------------------
Summary: Wrong InputStream reference is used in method storeFile of class ScpOperations
Key: CAMEL-6571
URL: https://issues.apache.org/jira/browse/CAMEL-6571
Project: Camel
Issue Type: Bug
Components: camel-jsch
Affects Versions: 2.11.0
Reporter: A. Engelmann
Priority: Minor
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);}}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira