org.apache.synapse.config.xml
Class MultiXMLConfigurationBuilder
java.lang.Object
org.apache.synapse.config.xml.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROXY_SERVICES_DIR
public static final String PROXY_SERVICES_DIR
- See Also:
- Constant Field Values
SEQUENCES_DIR
public static final String SEQUENCES_DIR
- See Also:
- Constant Field Values
TEMPLATES_DIR
public static final String TEMPLATES_DIR
- See Also:
- Constant Field Values
ENDPOINTS_DIR
public static final String ENDPOINTS_DIR
- See Also:
- Constant Field Values
LOCAL_ENTRY_DIR
public static final String LOCAL_ENTRY_DIR
- See Also:
- Constant Field Values
TASKS_DIR
public static final String TASKS_DIR
- See Also:
- Constant Field Values
EVENTS_DIR
public static final String EVENTS_DIR
- See Also:
- Constant Field Values
EXECUTORS_DIR
public static final String EXECUTORS_DIR
- See Also:
- Constant Field Values
MESSAGE_STORE_DIR
public static final String MESSAGE_STORE_DIR
- See Also:
- Constant Field Values
MESSAGE_PROCESSOR_DIR
public static final String MESSAGE_PROCESSOR_DIR
- See Also:
- Constant Field Values
REST_API_DIR
public static final String REST_API_DIR
- See Also:
- Constant Field Values
REGISTRY_FILE
public static final String REGISTRY_FILE
- See Also:
- Constant Field Values
SEPARATE_REGISTRY_DEFINITION
public static final String SEPARATE_REGISTRY_DEFINITION
- See Also:
- Constant Field Values
MultiXMLConfigurationBuilder
public MultiXMLConfigurationBuilder()
getConfiguration
public static SynapseConfiguration getConfiguration(String root,
Properties properties)
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.