Hi I'm building a archive solution for files and using the Zip dataformat and aggregation. Trying with the option "preservePathElements=true" but the ZIP file doesn't include any paths for my files. My purpose here is to be able to detect from where in the directory structure the files comes from.
My code is similar to the sample from("file:input/directory?antInclude=**/*.txt&recursive=true") .aggregate(constant(true), new ZipAggregationStrategy()) .completionFromBatchConsumer().eagerCheckCompletion() .to("file:output/directory"); and the only way to add the option is thru the properties file: camel.dataformat.zipfile.preserve-path-elements = true Pls advice /M