Class MultiXMLConfigurationBuilder


  • public class MultiXMLConfigurationBuilder
    extends Object

    This optional configuration builder creates the Synapse configuration by processing a specified file hierarchy. If the root of the specified file hierarchy is CONFIG_HOME, then the following directories are expected to be in CONFIG_HOME.

    • CONFIG_HOME/proxy-services
    • CONFIG_HOME/sequences
    • CONFIG_HOME/endpoints
    • CONFIG_HOME/local-entries
    • CONFIG_HOME/tasks
    • CONFIG_HOME/event-sources
    • CONFIG_HOME/priority-executors
    Each of these directories will house a set of XML files. Each file will define exactly one configuration item (eg: a proxy service, an endpoint, a sequence).

    In addition to the directories mentioned above one can have the following file in CONFIG_HOME

    • CONFIG_HOME/registry.xml