Sources

Use these properties to configure Documaker Connector with other sources.

BatchLoaderSource Properties

The BatchLoaderSource is a sample source component you can use with the WebCenter Content batch loader script files (although the only action supported is import). The BatchLoaderSource reads import records from batch files that it gets from a batch queue file. These records contain the data necessary to import a document into a destination (specifically, the WebCenter Content, but other destinations could be used with the proper batch files).

Configure the use of the BatchLoaderSource with:
source.name=oracle.documaker.ecmconnector.batchloadersource. 
BatchLoaderSource 
periodic.process=oracle.documaker.ecmconnector.batchloadersource. 
BatchLoaderProcess

Table 3-8 BatchLoaderSource Properties

Property Description Default
source.batchloader.batchfile The name of a batch file to be read for import records. This is mainly used when you are running the Connector in Singleton mode. none
source.batchloader.batchqueuefile The name of the batch queue file that contains the list of batch files. As the files are processed, they are removed from this file. New files can be added at any time. This is mainly used when you are running the Connector is running in Server mode. none
source.import.delete.imported.files Used as specified. For more information, see Table 5 False
source.import.delete.imported.files.count Used as specified. For more information, see Table 5 Zero (0)
batchloader.source.max.records The maximum number of records to read from the batch files before processing starts. One (1)
source.batchloader.errordirectory The directory where error files will be written for each batch file. The error file names will be in one of these formats: <batch file name>.SOURCEERRORSfor errors in the batch file itself (bad data or action) or <batch file name>.IMPORTERRORS for errors from the import attempts. none
source.persistence.path See General Source Configuration Properties  

DocumentDataSource Properties

There are no properties for this source component. This component is provided only for use in custom applications written to use the Connector. It cannot be configured and used as a stand-alone source component.

Mock Source Properties

Use these properties to set up a mock source component. The mock source lets you test your implementation without having actual incoming documents. It generates fake documents and metadata based on its configuration and can also generate errors to test how Documaker Connector and the destination handle errors.

You can use it to configure and test the destination before your source is ready to generate test documents. Developers can also use it to generate test data when developing a destination.

Configure the use of the mock source with: oracle.documaker.ecmconnector.mocksource.MockSource

Table 3-9 Mock Source Properties

Property Description Default

Mock Source Properties

Property Name Prefix: source.mock.

.empty.lists.allowed Determines if the empty document lists can be returned from the acquireDocuments method call. False
.author The author property for each mock document data. none
.title The title property for each mock document data. none
.type The document type property for each mock document data. none
.secgroup The security group property for each mock document data. none
.filepath The file path property for each mock document data. none
.import.errors Specifies whether to generate random import errors. False
.import.error.threshold The threshold value above which an import error is generated. 75 (out of 100)
.runcount The number of import cycles to execute before the source closes itself. This is useful for testing in Singleton mode. Zero (0), which means no limit.