Configuration files
The Distributed Service Bus is based on and uses Petals ESB configuration files for standard features such as server name, topology, loggers. Details on these files can be found in the Petals ESB documentation. Additionally, there are also some new configuration files which have been introduced for specific DSB purposes under the $DSB_HOME/conf folder :
- dsb.cfg: The main configuration file containing the required configuration values for the Distributed Service Bus (more details in the DSB Management section).
- components.cfg: The components to start when the DSB starts (more details in the DSB Management section).
- services2bind.cfg: A list of external services to bind at startup (more details in the DSB Management section).
- wsdm.cfg: Monitoring configuration (more details in the DSB Monitoring section).
- federation.cfg: Federation configuration (more details in the DSB Federation section).
- launcher.cfg: Launcher configuration (details below).
Launcher configuration
In order to be able to create custom DSB distributions, the launcher.cfg file contains some parameters to modify if needed.
launcher.cfg
- 'url' is an URL displayed in the terminal at startup.
- 'mail' is the contact email for this distribution displayed in the terminal at startup
- 'jars' is a list as CSV which is used to add some libraries in the container classpath. This is quite useful when you extend the DSB and when you need to add dependencies. There is no need to define any version number but just the beginning of the dependency name, the DSB will do the rest.
- 'class' is the main class to be started by the launcher, this class will load all the architecture components. This predefined class should work in most cases.