This component regularly tests the state of a JMS connector and publishes the results to JMX.
It is configured through a set of OSGi properties:
- org.ow2.joram.check.jndi.file: Path of JNDI properties file. If not defined, Joram's
default are used. "fr.dyade.aaa.jndi2.client.NamingContextFactory" for JNDI Factory,
"localhost", and 16400 for host and port.
These values can be overloaded by specific properties below.
- org.ow2.joram.check.jndi.factory: Classname of the JNDI factory (cf java.naming.factory.initial
property).
- org.ow2.joram.check.jndi.host: Hostname ou IP address of JNDI server.
- org.ow2.joram.check.jndi.port: Listening port of JNDI server.
- org.ow2.joram.check.period: Period between 2 checks, by default 60s.
- org.ow2.joram.check.timeout: Maximum amount of time to wait connecting and receiving
messages, by default 10s.
For each JMS connector to monitor there is 4 properties to define:
- org.ow2.joram.check.cf: JNDI name of the ConnectionFactory to use.
- org.ow2.joram.check.queue: Internal name of JMS destination.
- org.ow2.joram.check.user: User name for authentication, if no defined uses the
ConnectionFactory default.
- org.ow2.joram.check.pass: Password for authentication, if no defined uses the
ConnectionFactory default.
If there are multiple connectors to monitor, suffix each property with 1, 2, etc.