The servicemix JBIContainer exposes container, NMR and Component management through JMX. The JBIContainer can be passed a JMXBeanServer or be configured to create one, if one doesn't exist. (see Configuration). If the JBIContainer creates it's own MBeanServer instance, it also creates an RMI JMXConnector - to allow remote connections. The Management AntTasks use this:
JMXServiceURL url = new JMXServiceURL ("service:jmx:rmi://<serverHost>/jndi/rmi://<namingHost>:<namingPort>/jmxconnector") ; JMXConnector connector = JMXConnectorFactory.connect(url);
The default namingPort is 1099
JMX Console
Statistics
If ServiceMix is configured (see Configuration) to dump statistics, it will in the Component's running directory in a comma separated file named Stats.csv.
The format of the statistics dumped is:
Stats format
inboundExchanges |
inboundExchangeRate |
outboundExchanges |
outboundExchangeRate |
long |
double |
long |
double |