I have a requirement where i have to aggregate/merge 6 xml files to a single xml file using Apache Camel. The issue is that, the 6 xml files are mounted on a folder which 6 different servers will be polling. So, if each server picks up one file and locks it, how can i , merge and create a single xml file?
The complexity is how to write to a single file when there are six servers processing all the six files mounted to the folder.
Please help with a solution if someone faced a similr problem.
Thanks