Hi We are using ServiceMix to subscribe to a service by looking for "done files" (.ready) before downloading a copy of the data (.dat) files.
One problem we have is that once we have downloaded a copy of a data file we must remove the .ready file but leave the .dat file Here is my route: <camelContext xmlns="http://camel.apache.org/schema/blueprint" id="camel-ftpdownload"> <route> <from uri="file:/data/readyfiletestIn/?doneFileName=${file:name}.ready&delete=false"/> <to uri="file:/data/readyfiletestOut"/> </route> </camelContext> We've also tried noop=true but this leaves a .ready file once we have downloaded a copy of the .dat. We can work around this by calling a XSLT next in the route to delete the .ready file independently, but this seems to be compounding the route complexity. Q2 - the doneFileNames we are get aren't necessarily the .dat file name with a .ready extension. What is the best way to work with this. Ie where we want to work with: datafile123.dat and datafile123.ready rather than datafile123.dat and datafile123.dat.ready ? Thanks James