Greetings, I have the following question, I will try to lay the scenario as clearly as possible. If this isn't clear, my apologies up front.
I have a directory, that will have multiple files dropped into it. The file are text files and as part of this generation process they will have a guid generated and place as part of the filename. Additionally as part of these .txt files, a corresponding "control file" will also be dropped. This control file is what I want to drive my camel consumer process with. Below is conceptually what i'm thinking about. *For example the directory could look like below:* file-a-123abc456.txt file-a-123abc456.txt file-a-123abc456.xml What I'd like to do is configure the file consumer to be triggered by the .xml control file. Once the consumer file process is triggered, I'd then like to somehow read all the corresponding payload files (.txts) and insert them onto the exchange. So with the above being said, a couple of questions" 1) Can I collect the multiple .txts and insert them "manually" on the exchange? Mimicking the camel file consumer process? 2) If number one is possible, I'd like to then pass the exchange onto an FTP producer. Is this the most efficient way to ftp multiple files? I'm a bit new to Camel and if these are incorrect assumptions, please forgive. I'm open to any and all suggestions as to the best way of handling the above scenario. Thanks, -- View this message in context: http://camel.465427.n5.nabble.com/File2-Consumer-Multiple-file-problem-tp5783329.html Sent from the Camel - Users mailing list archive at Nabble.com.