Apache Camel pollEnrich is not copying all the files
问题 I've a camel route which looks like below from("activemq:queue:upload" ) .pollEnrich().simple("file:basePath/${header.ID}?noop=true&recursive=true") .aggregationStrategy(new ExampleAggregationStrategy()) .timeout(2000) .toD("ftp:${header.destinationURI}") In my file system file:basePath/${header.ID} contains multiple folders. When above route is executed, only 1st file from the 1st folder will be copied to ftp server. Remaining folders(with subfolders) aren't getting copied to ftp server! And