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

Reply via email to