I need a way to create a Camel route that uses a file "from" endpoint but cannot start processing that file until some other things are complete. So here's a simplified scenario just to provide an example:
A camel route extracts data from a database and writes the records to a file on the file system. A second camel route has a file endpoint watching for the extract file. When it is available it will transform the records in that file and write out a new file. The original file will be moved to a "hold" folder. A third route watches for the transformed file to do something with it, maybe send it off the system somewhere. When this one is done it will move the file to a "done" folder. A fourth route needs to process the "hold" file from the second route, but it cannot process this file until the transformed file has moved to the "done" folder. So is there a way to make this fourth route dependent on both the "hold" and the "done" files? It does not have to process the "done" file, it just can't do anything with the "hold" file until the third route is done. -- View this message in context: http://camel.465427.n5.nabble.com/Making-a-route-depend-on-multiple-criteria-tp5732515.html Sent from the Camel - Users mailing list archive at Nabble.com.