A similar feature would also be a good idea for the VFS sender part too. That the ESB writes a lockfile, while writing the output.
This way an external service can also check whenever the esb is ready writing its output, before it starts processing it. What do you think ? Regards, Harm On Tue, Aug 11, 2009 at 10:51 AM, Harm Verhagen <[email protected]>wrote: > Great, > I'll check it out. > > > On Sun, Aug 9, 2009 at 3:15 AM, Ruwan Linton <[email protected]> wrote: > >> Ruwan Linton wrote: >> > Harm Verhagen wrote: >> > >> >> So how does wso2esb currently protect against processing partially >> >> uploaded files ? >> >> guessing.. Does it somehow/ try to get an exclusive lock on the file ? >> >> >> > Once again this is not supported in the ESB, but I see this as a >> > critical improvement and hence would like to work on this ASAP. If you >> > are OK with using the latest version of the ESB I could fix this on the >> > trunk and provide a SNAPSHOT build of the vfs transport, which is >> > compatible with the 2.1.0 release, but I am not sure about the >> > compatibility with the 1.7.1. >> > >> > If you cannot move to the new release and still interested in this fix >> > you may buy support from WSO2 to get this fix ported into the 1.7.1 >> version. >> > >> > Anyway I will fix this on the trunk, created the issue at [1] >> > >> Fixed on the trunk and if you take a fresh build of the vfs transport >> you could get this feature. >> >> Thanks, >> Ruwan >> > Thanks, >> > Ruwan >> > >> > [1] - https://wso2.org/jira/browse/ESBJAVA-602 >> > >> > >> >> Regards, >> >> Harm >> >> >> >> On Wed, Aug 5, 2009 at 2:57 PM, Ruwan Linton <[email protected] >> >> <mailto:[email protected]>> wrote: >> >> >> >> Hi Harm, >> >> >> >> I am afraid, AFAIK, this is not yet supported by the WSO2 ESB vfs >> >> transport by default, but it could be a very good improvement. You >> may >> >> file an enhancement JIRA for that and we could get that into the >> next >> >> release. >> >> >> >> Thanks, >> >> Ruwan >> >> >> >> Harm Verhagen wrote: >> >> > Hi, >> >> > >> >> > I couldn't file the following in the wso2esb manual. >> >> > Does the ESB transport.vfs support lockfiles ? >> >> > >> >> > Say you have one server uploading flat files to a directory >> >> (scp). You >> >> > have the ESB processing that library using the vfs file listener. >> >> > to prevent that the ESB starts processing a file is is partially >> >> > uploaded we'd like to put a file (eg: lock.txt) in the >> directory, >> >> > that blocks reading that file). >> >> > Can it do that now using the existing transport.vfs, or would I >> >> have >> >> > to write my own file reader ? >> >> > >> >> > esb:1.7.1 >> >> > >> >> > >> >> > >> >> > Regards, >> >> > Harm >> >> > >> >> > >> >> >> ------------------------------------------------------------------------ >> >> > >> >> > _______________________________________________ >> >> > Esb-java-user mailing list >> >> > [email protected] <mailto:[email protected]> >> >> > https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user >> >> > >> >> >> >> >> >> -- >> >> Ruwan Linton >> >> Technical Lead & Product Manager; WSO2 ESB; http://wso2.org/esb >> >> WSO2 <http://wso2.org/esb%0AWSO2> Inc.; http://wso2.org >> >> email: [email protected] <mailto:[email protected]>; cell: +94 77 341 >> 3097 >> >> blog: http://blog.ruwan.org >> >> >> >> >> >> >> >> _______________________________________________ >> >> Esb-java-user mailing list >> >> [email protected] <mailto:[email protected]> >> >> https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user >> >> >> >> >> >> >> ------------------------------------------------------------------------ >> >> >> >> _______________________________________________ >> >> Esb-java-user mailing list >> >> [email protected] >> >> https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user >> >> >> >> >> > >> > >> > >> >> >> -- >> Ruwan Linton >> Technical Lead & Product Manager; WSO2 ESB; http://wso2.org/esb >> WSO2 <http://wso2.org/esb%0AWSO2> Inc.; http://wso2.org >> email: [email protected]; cell: +94 77 341 3097 >> blog: http://blog.ruwan.org >> >> >> >> _______________________________________________ >> Esb-java-user mailing list >> [email protected] >> https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user >> > >
_______________________________________________ Esb-java-user mailing list [email protected] https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
