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.
