-
Book Overview & Buying
-
Table Of Contents
Service Oriented Java Business Integration
To demonstrate JMX in ServiceMix, we will use the same sample we used for Chapter 9 (Pojo Binding Using Jsr181). The sample ch09\Jsr181BindPojo is repeated in this chapter and is kept in folder ch17\04_JMX.
ServiceMix uses the following parameter for enabling JMX:
The default namingPort: 1099.
The default container name: jmxrmi.
The JMX Service URL: service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi.
These are the default settings for ServiceMix version 3.x. For version 2.x, JMX Service URL alone changes to: service:jmx:rmi:///jndi/rmi://localhost:1099/defaultJBIJMX.
The above values are configured through %SERVICEMIX_HOME%\conf\jmx.xml. To start simple, edit the jmx.xml file to disable the security feature. This can be done by first searching for "Comment the following lines to disable JAAS authentication for jmx" and then commenting the succeeding lines.
Now, bring ServiceMix up. This can be done by trying out any of the samples...
Change the font size
Change margin width
Change background colour