This content has been marked as final.
Show 3 replies
-
1. Re: ESB File Action Sample Question
beve Apr 1, 2009 4:27 AM (in response to shannonlal)Does anyone know if you can configure the fs-provider so that it does not move the file to another directory(i.e. it leaves it in the same directory)?
By setting 'post-delete' to false and not specifying a 'post-directory' should do the trick.<fs-message-filter directory="@INPUTDIR@" input-suffix=".dat" work-suffix=".esbWorking" post-delete="false" post-suffix=".sentToEsb" error-delete="false" error-suffix=".IN_ERROR" />
If it is possible to leave the file in the existing directory, how will JBoss ESB detect new files to be processed?
The file will be renamed with the 'post-suffix'.
To see the full options the best source is the xsd:
http://anonsvn.jboss.org/repos/labs/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd
Regards,
/Daniel -
2. Re: ESB File Action Sample Question
shannonlal Apr 1, 2009 10:33 AM (in response to shannonlal)Daniel,
Thanks for the reply. What is the implication of leaving the file in the directory without changing the name (i.e. not performing any Post operations). Will the ESB continually try to pick up the document or does it rely on the time stamp of the file (last modified) as well.
Thanks
Shannon -
3. Re: ESB File Action Sample Question
tfennelly Apr 1, 2009 11:09 AM (in response to shannonlal)"shannonlal" wrote:
Daniel,
Thanks for the reply. What is the implication of leaving the file in the directory without changing the name (i.e. not performing any Post operations). Will the ESB continually try to pick up the document or does it rely on the time stamp of the file (last modified) as well.
Thanks
Shannon
It will be picked up again and again....