[ 
https://issues.apache.org/jira/browse/CAMEL-6571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-6571.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.12.0
                   2.11.2
                   2.10.7

Thanks for reporting this.
                
> 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
>             Fix For: 2.10.7, 2.11.2, 2.12.0
>
>
> 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