Package 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
In addition to the directories mentioned above one can have the following file in CONFIG_HOME
- CONFIG_HOME/registry.xml
-
-
Field Summary
Fields Modifier and Type Field Description static String
ENDPOINTS_DIR
static String
EVENTS_DIR
static String
EXECUTORS_DIR
static String
INBOUND_ENDPOINT_DIR
static String
LOCAL_ENTRY_DIR
static String
MESSAGE_PROCESSOR_DIR
static String
MESSAGE_STORE_DIR
static String
PROXY_SERVICES_DIR
static String
REGISTRY_FILE
static String
REST_API_DIR
static String
SEPARATE_REGISTRY_DEFINITION
static String
SEPARATE_TASK_MANAGER_DEFINITION
static String
SEQUENCES_DIR
static String
SYNAPSE_IMPORTS_DIR
static String
TASK_MANAGER_FILE
static String
TASKS_DIR
static String
TEMPLATES_DIR
-
Constructor Summary
Constructors Constructor Description MultiXMLConfigurationBuilder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SynapseConfiguration
getConfiguration(String root, Properties properties)
-
-
-
Field Detail
-
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
-
INBOUND_ENDPOINT_DIR
public static final String INBOUND_ENDPOINT_DIR
- See Also:
- Constant Field Values
-
SYNAPSE_IMPORTS_DIR
public static final String SYNAPSE_IMPORTS_DIR
- See Also:
- Constant Field Values
-
REGISTRY_FILE
public static final String REGISTRY_FILE
- See Also:
- Constant Field Values
-
TASK_MANAGER_FILE
public static final String TASK_MANAGER_FILE
- See Also:
- Constant Field Values
-
SEPARATE_REGISTRY_DEFINITION
public static final String SEPARATE_REGISTRY_DEFINITION
- See Also:
- Constant Field Values
-
SEPARATE_TASK_MANAGER_DEFINITION
public static final String SEPARATE_TASK_MANAGER_DEFINITION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getConfiguration
public static SynapseConfiguration getConfiguration(String root, Properties properties)
-
-