Use an XML File to Configure Java Batch Processor

This topic only applies to self-managed Intelligent Advisor edition

Intelligent Advisor Java Batch Processor supports configuration and mappings via an XML file. You can specify this file using the --config setting on the command line. If you don't specify the --config setting on the command line, the Batch Processor will look for a file in the current working directory called config.xml and will read in the configuration from that file.

The structure of an Java Batch Processor configuration file is simple.

  • The root element is the <configuration> element.
  • There can be a single <options> element which contains all Java Batch Processor configuration options.
  • There can be a single <mappings> element which contains all of Java Batch Processor data mappings.
<configuration>
    <options>
        ...
    </options>
    <mappings>
        ...
    </mappings>
</configuration>