I'm not sure you can do that but you can move the file. Unless disk space is an issue that's pretty much the same thing.
On Tue, Sep 6, 2011 at 3:08 PM, raakula <[email protected]> wrote: > Hi, > We are using servicemix file poller heavily and we want to delete the file > as soon as the file is being sent to the next component irrespective of the > status that it gets in sendSync call. > Right now, 2010.01 version, is deleting the file only when the exchange > status is DONE. > Is there a way/workaround through which the file can be deleted even if the > status is ERROR? > > Thanks and regards, > Ramu > > -- > View this message in context: > http://servicemix.396122.n5.nabble.com/How-to-delete-the-file-always-using-file-poller-tp4774126p4774126.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. >
