Hi,

We are planning to add an inbound and connector to support file operations
using NIO2.

Current ESB file/vfs transport is based on polling. But with this approach
we can register a watcher and process rather than polling.

Also with this we can give the functionality to modify file attributes
which is not possible with common-vfs.

However this will only support local file systems. For other provides we
may have to write similar components. eg:- for ftp [2]

Let me know your feedback on this.

Following are the methods planning to implement.

search - Finds a file based on a file pattern.
rename - Renames a file or folder.
read - Reads content from a file.
readdir - Read all the files in a directory
move - Move a files or directory.
isfileexist - Checks the existence of a file.
delete - Deletes a file or directory.
create - Creates a file or directory.
copy - Copies a file.

[image: Inline image 1]

[1]
http://www.javaworld.com/article/2078654/java-se/java-se-five-ways-to-maximize-java-nio-and-nio-2.html
[2] http://sourceforge.net/projects/javanioftp/

Best Regards,

Malaka Silva
Senior Tech Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
http://www.wso2.com/
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>

Save a tree -Conserve nature & Save the world for your future. Print this
email only if it is absolutely necessary.
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to