I want to monitor a filesys directory for the presence of a file and, once
extant, continue on the pipeline. I'm thinking the top of the pipeline
should be a generator or xpl that can:
* return filesys directory structure/file info
* and/or search for files matching a regexp pattern
* and/or continuously monitor filesys changes

To confirm - there's no currently packaged processor to handle any of these
things, right?

For now, I'm thinking I'll skip the regexp part and create an XPL that:
* takes an explicit file name
* passes to oxf:url-generator
* handles the error of *not* finding the file by inserting a task into
oxf:scheduler to recall in a specified number of secs

Anyone see any negative implications here? Like in repetitive inserting of
scheduled tasks or repetitive url-generator failure? Anyone have a more
elegant approach to event-based triggering of a pipeline?

Beyond this, anyone have any recommendations on Java classes that I could
wrap in a custom processor to handle the tasks I described above?

Comments/ideas welcome. Thanks.

- Scott Saverance


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
orbeon-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to