Camel route multiple files -


how 1 pass multiple files through pojo fetches them , file component, , ftp in 1 route? i've been trying use map not sure body should have key name, should getfiles pass on multiple files in below example? if map should returned keys should map hold?

from("mock:start")     .to(getfiles.class)     .to("file:transfer/outbound")     .to("sftp:{{sftp_uri}}"); 

why not drop files folder, have 1 route without java?

from("file:///inbound").multicast().to("file:outbound/", "sftp://");


Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -