| Utility class responsible for polling and ingesting XML data files
containing various forms of workflow engine data (e.g. document types
and rules).
Loaded files and problem files are placed into a subdirectory of a
configured 'loaded' and 'problem' directory, respectively.
"Problem-ness" is determined by inspecting a 'processed' flag on each XmlDoc
in each collection. If not all XmlDoc s are marked 'processed' an
error is assumed, and the collection file (e.g. for a Zip, the Zip file) is moved
to the 'problem' directory.
As such, it is the XmlIngesterService 's responsibility to mark
any unknown or otherwise innocuous non-failure non-processed files, as 'processed'.
A different mechanism can be developed if this proves to be a problem, but for now
it is simple enough for the XmlIngesterService to determine this.
See Also: edu.iu.uis.eden.batch.XmlPollerService See Also: edu.iu.uis.eden.batch.XmlIngesterServiceImpl author: Aaron Hamid (arh14 at cornell dot edu) |