Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0.0.RC3
-
None
-
Unknown
Description
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
exchange.getContext().getTypeConverter().convertTo(InputStream.class);
returns null, while
exchange.getContext().getTypeConverter().convertTo(InputStream.class, exchange, value);
works
Attachments
Issue Links
- links to