[ 
https://issues.apache.org/jira/browse/SYNAPSE-565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12740942#action_12740942
 ] 

Ruwan Linton commented on SYNAPSE-565:
--------------------------------------

Implemented the locking... I think it has to be configurable and should be able 
to turn off locking to achieve performance on a deployment where there cannot 
be a conflict.

Planning to implement it before resolving the issue.

Now before processing any file vfs listener will create a lock and it will be 
removed just after completing the processing, so no two listeners will process 
the file at the same time.

Also before starting to upload a file the sender creates a lock file so the VFS 
listener will not process that file until the file is fully uploaded and the 
lock is removed. Bot the listener and the sender treats a file item lock as a 
file with the same name suffixed by the ".lock" sub string.

> VFS transport should support a locking mechanism
> ------------------------------------------------
>
>                 Key: SYNAPSE-565
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-565
>             Project: Synapse
>          Issue Type: Improvement
>          Components: Transports
>    Affects Versions: 1.2
>            Reporter: Ruwan Linton
>            Assignee: Ruwan Linton
>             Fix For: 1.3
>
>
> For more information please refer to;
> https://wso2.org/jira/browse/ESBJAVA-602

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to