Announcement Announcement Module
Collapse
No announcement yet.
Help : multiple directory watch service Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Help : multiple directory watch service

    Hi All,

    My project has requirements to watch multiple directories (over 100) for coming plain text files which are either empty or have contents. The consecutive processing includes file parsing and save the file content to Oracle. File parsing may include text to XML conversion.

    My questions are,

    1. Is there a multi-threads mechanism to deal with multi-directories? For example, a thread pool with pre-configured 10 threads takes care of all directories. An ideal situation would be the coming file is detected instantly when it arrives.

    2. Is the file arrival detection aware of the completion of the file transferring? Some files may be a bit big and the file parsing should not start until the file transfer finishes.

    3. Does the DB implementation have any thread pool ready to deal with DB insertion? Tomcat JDBC connection pool seems great, any integration with it?


    Appreciate any helps!


    Leo
Working...
X