Key Attributes
ServiceMix has a number of parameters that you can set to change it's runtime behaviour on either the JBIContainer or the dervied SpringJBIContainer .
These are as follows:
Key Attributes
Name |
type |
Description |
---|---|---|
name |
String |
name of the container - needs to be unique if running in a cluster The default is defaultJBI |
rootDir |
String |
the path to the directory structure used by ServiceMix - the default is <current directory>/wdir |
flowName |
String |
one of seda ,st or cluster - see NMR Flows |
createMBeanServer |
boolean |
if true, ServiceMix will create it's own MBeanServer if one is not supplied |
installationDirPath |
String |
the path to the installation directory that ServiceMix can optionally monitor for new archives |
monitorInstallationDirectory |
boolean |
if true, ServiceMix will monitor the installation directory for new archives to install |
createTransactionManager |
boolean |
if true, ServiceMix will lazy try and create a TransactionManager if one is not supplied |
dumpStats |
boolean |
if true, ServiceMix will dump message throughput statistics to file for individual components |
statsInterval |
int |
interval (in seconds) between collection of statistics for message throughput |
Root Directory
ServiceMix uses a directory structure on local disk for unpacking archives, storing running state and statistics etc.
The default directory layout is shown below: