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

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -