You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/11/04 07:29:00 UTC

[jira] [Work logged] (CAMEL-14132) camel-hdfs: Producer throws exception when body is RemoteFile

     [ https://issues.apache.org/jira/browse/CAMEL-14132?focusedWorklogId=338006&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-338006 ]

ASF GitHub Bot logged work on CAMEL-14132:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 04/Nov/19 07:28
            Start Date: 04/Nov/19 07:28
    Worklog Time Spent: 10m 
      Work Description: marius-cornescu commented on pull request #3310: CAMEL-14132 - camel-hdfs: Producer throws exception when body is RemoteFile
URL: https://github.com/apache/camel/pull/3310
 
 
   CAMEL-14132 - camel-hdfs: Producer throws exception when body is RemoteFile
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 338006)
    Remaining Estimate: 0h
            Time Spent: 10m

> camel-hdfs: Producer throws exception when body is RemoteFile
> -------------------------------------------------------------
>
>                 Key: CAMEL-14132
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14132
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-hdfs
>    Affects Versions: 3.0.0.RC3
>            Reporter: Marius Cornescu
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When running a route *FROM* sftp with streamDownload=true *TO* hdfs, an exception is thrown, with the root cause that *GenericFileConverter.genericFileToInputStream(GenericFile<?> file, Exchange exchange)* needs the exchange instance to be non null
>  
> {code}
> exchange.getContext().getTypeConverter().convertTo(InputStream.class);
> {code}
> returns null, while 
> {code}
> exchange.getContext().getTypeConverter().convertTo(InputStream.class, exchange, value);
> {code}
> works
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)