For each type of log file, there is a corresponding data loader component. These components are all of class atg.reporting.datawarehouse.loader.Loader, and are located in the /atg/reporting/datawarehouse/loaders/ Nucleus folder. The loader components for the Oracle Commerce Platform are:

Note that there are data loader components specific to each Oracle Commerce Platform application. Refer to the application documentation for information on these specific components.

The following table summarizes the key properties of the loader components. Some of these properties are described in more detail after the table:

Property

Description

charset

The character set used for the log files. The default value is null, which means the loader expects the log files to be encoded with the character set specified by the JVM file.encoding system property. Typically you should not need to change the value of this property.

defaultRoot

The directory path to the location of the log files. See Specifying the Location of Log Files for more information.

noLoadSleepMillis

The number of milliseconds to wait if, during the loading process, the loader determines that there are no log files currently ready to be loaded. After the interval specified by this property, the loader will check whether any new log files are ready to be loaded. This process is repeated until the loader shuts down. The default is 600000 (ten minutes). See Specifying the Loading Schedule for more information.

loadStatusListeners

The component to use for archiving log files when a successful load completion event is detected.

LogFileDeleteListener—Deletes the log file.

LogFileMoveListener—Moves the log file to the destination directory you specify (can be used to rename the file at the same time).

LogFileGZipListener—Leaves the file in its original location and creates a .zip archive. This is the default component.

You can write your own component based on LogStatusListener if you require other archiving behavior.

pipelineDriver

The Nucleus pathname of the pipeline driver component that the loader passes log file lines to for processing. The default value is different for each loader component. See Pipeline Drivers and Processors for more information.

queueName

A String that identifies the queue from which the loader reads log files. Each loader component has a different default value for this property. For example, the default value of the queueName property of the OrderSubmitLoader component is atg.reporting.submitOrder; for the SegmentLoader component, it is atg.reporting.segmentUpdate. You should not need to change the value of this property.

runSchedule

A CalendarSchedule that specifies the schedule for starting up the loader. See Specifying the Loading Schedule for more information.

skipRecordOnError

If set to true, if the data loader encounters an error while loading a log file, it skips the record that caused the error and moves on to the next record.

Caution: A record that causes a loading error can indicate a serious problem, and should be investigated. Under normal circumstances, this flag should be false.

stopSchedule

A CalendarSchedule that specifies the schedule for shutting down the loader. See Specifying the Loading Schedule for more information.

transactionBatchSize

Specifies the number of lines in a log file to process as a single transaction. Default is 100.


Copyright © 1997, 2016 Oracle and/or its affiliates. All rights reserved. Legal Notices