JBoss.org Community Documentation

Chapter 7. Messaging on JBoss

JMS Configuration and Architecture

7.1. JMS Examples
7.1.1. A Point-To-Point Example
7.1.2. A Pub-Sub Example
7.1.3. A Pub-Sub With Durable Topic Example
7.1.4. A Point-To-Point With MDB Example
7.2. JBoss MQ Overview
7.2.1. Invocation Layer
7.2.2. Security Manager
7.2.3. Destination Manager
7.2.4. Message Cache
7.2.5. State Manager
7.2.6. Persistence Manager
7.2.7. Destinations
7.3. JBoss MQ Configuration and MBeans
7.3.1. org.jboss.mq.il.jvm.JVMServerILService
7.3.2. org.jboss.mq.il.uil2.UILServerILService
7.3.3. org.jboss.mq.il.http.HTTPServerILService
7.3.4. org.jboss.mq.server.jmx.Invoker
7.3.5. org.jboss.mq.server.jmx.InterceptorLoader
7.3.6. org.jboss.mq.sm.jdbc.JDBCStateManager
7.3.7. org.jboss.mq.security.SecurityManager
7.3.8. org.jboss.mq.server.jmx.DestinationManager
7.3.9. org.jboss.mq.server.MessageCache
7.3.10. org.jboss.mq.pm.jdbc2.PersistenceManager
7.3.11. Destination MBeans
7.4. Specifying the MDB JMS Provider
7.4.1. org.jboss.jms.jndi.JMSProviderLoader MBean
7.4.2. org.jboss.jms.asf.ServerSessionPoolLoader MBean
7.4.3. Integrating non-JBoss JMS Providers

The JMS API stands for Java Message Service Application Programming Interface, and it is used by applications to send asynchronous business-quality messages to other applications. In the messaging world, messages are not sent directly to other applications. Instead, messages are sent to destinations, known as queues or topics. Applications sending messages do not need to worry if the receiving applications are up and running, and conversely, receiving applications do not need to worry about the sending application's status. Both senders, and receivers only interact with the destinations.

The JMS API is the standardized interface to a JMS provider, sometimes called a Message Oriented Middleware (MOM) system. JBoss comes with a JMS 1.1 compliant JMS provider called JBoss Messaging or JBossMQ. When you use the JMS API with JBoss, you are using the JBoss Messaging engine transparently. JBoss Messaging fully implements the JMS specification; therefore, the best JBoss Messaging user guide is the JMS specification. For more information about the JMS API please visit the JMS Tutorial or JMS Downloads & Specifications.

This chapter focuses on the JBoss specific aspects of using JMS and message driven beans as well as the JBoss Messaging configuration and MBeans.