You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by raakula <ra...@nsn.com> on 2011/09/06 14:08:34 UTC

How to delete the file always using file poller?

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.

Re: How to delete the file always using file poller?

Posted by Sorin Silaghi <so...@gmail.com>.
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 <ra...@nsn.com> 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.
>