Hi, i've developed a simplified camellish DSL for my end-users in which they
can basically specify 
how they want files to be moved around. For the most part this works great,
but i don't have
a solution yet for the case where i read just one file and the end result is
N files.

For example this scenario:

<from uri="path-to-zip-file" />
<processor bean="unzipAndMoreMagic" />
<to uri="ftp-site" />

This is broken down to 3 parts:
1) read a zip file
2) unzip it to local file system 
3) send every file (can be more than one) from local filesystem to ftp
endpoint

1) and 2) are solved. But 3) is the problem here. How do i put the unzipped
file(s) on it's way to
the ftp end point?. One file is no problem, i just can do setBody(File) ...
But, can i just set multiple body's (streams) on the exchange
setBody(List<InputStream) and it will magicall work? 

Thanks in advance!
Regards
Rino








--
View this message in context: 
http://camel.465427.n5.nabble.com/ftp-multiple-streams-in-body-tp5774197.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to