camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From souciance <souciance.eqdam.ras...@gmail.com>
Subject Re: Use splitter to ftp List of InputStreams
Date Tue, 09 Aug 2016 12:11:22 GMT
The problem could be here:

allFiles.add(oldExchange.getIn().getBody(InputStream.class));

You are expecting InputStream but the body is actually FileInputStream.
Maybe you need to convert from FileInputStream to InputStream if that is
what you want?




--
View this message in context: http://camel.465427.n5.nabble.com/Use-splitter-to-ftp-List-of-InputStreams-tp5786195p5786196.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message