Show Table of Contents
9.3. JBoss MQ Configuration and MBeans
This section defines the MBean services that correspond to the components introduced in the previous section along with their MBean attributes. The configuration and service files that make up the JBossMQ system include:
- deploy/hsqldb-jdbc-state-service.xml: This configures the JDBC state service for storing state in the embedded Hypersonic database.
- deploy/jms/hsqldb-jdbc2-service.xml: This service descriptor configures the
DestinationManager,MessageCache, and jdbc2PersistenceManagerfor the embedded Hypersonic database. - deploy/jms/jbossmq-destinations-service.xml: This service describes defines default JMS queue and topic destination configurations used by the testsuite unit tests. You can add/remove destinations to this file, or deploy another
*-service.xmldescriptor with the destination configurations. - jbossmq-httpil.sar: This SAR file configures the HTTP invocation layer.
- deploy/jms/jbossmq-service.xml: This service descriptor configures the core JBossMQ MBeans like the
Invoker,SecurityManager,DynamicStateManager, and core interceptor stack. It also defines the MDB default dead letter queueDLQ. - deploy/jms/jms-ds.xml: This is a JCA connection factory and JMS provider MDB integration services configuration which sets JBossMQ as the JMS provider.
- deploy/jms/jms-ra.rar: This is a JCA resource adaptor for JMS providers.
- deploy/jms/jvm-il-service.xml: This service descriptor configures the
JVMServerILServicewhich provides the JVM IL transport. - deploy/jms/rmi-il-service.xml: This service descriptor configures the
RMIServerILServicewhich provides the RMI IL. The queue and topic connection factory for this IL is bound under the nameRMIConnectionFactory. - deploy/jms/uil2-service.xml: This service descriptor configures the
UILServerILServicewhich provides the UIL2 transport. The queue and topic connection factory for this IL is bound under the nameUIL2ConnectionFactoryas well asUILConnectionFactoryto replace the deprecated version 1 UIL service.
We will discuss the associated MBeans in the following subsections.
9.3.1. org.jboss.mq.il.jvm.JVMServerILService
The
org.jboss.mq.il.jvm.JVMServerILService MBean is used to configure the JVM IL. The configurable attributes are as follows:
- Invoker: This attribute specifies JMX ObjectName of the JMS entry point service that is used to pass incoming requests to the JMS server. This is not something you would typically change from the
jboss.mq:service=Invokersetting unless you change the entry point service. - ConnectionFactoryJNDIRef: The JNDI location that this IL will bind a
ConnectionFactorysetup to use this IL. - XAConnectionFactoryJNDIRef: The JNDI location that this IL will bind a
XAConnectionFactorysetup to use this IL. - PingPeriod: How often, in milliseconds, the client should send a ping message to the server to validate that the connection is still valid. If this is set to zero, then no ping message will be sent. Since it is impossible for JVM IL connection to go bad, it is recommended that you keep this set to 0.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.