Chapter 6. Messaging on JBoss


IN THIS CHAPTER

  • JMS Examples

  • JBossMQ Overview

  • JBossMQ Configuration and MBeans

  • Specifying the MDB JMS Provider

Applications use the Java Message Service Application Programming Interface (JMS API) 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 that send messages do not need to worry if the receiving applications are up and running; 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.1compliant JMS provider called JBoss Messaging (JBossMQ). When you use the JMS API with JBoss, you are using the engine transparently. JBossMQ fully implements the JMS specification; therefore, the best JBossMQ user guide is the JMS specification.

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



JBoss 4. 0(c) The Official Guide
JBoss 4.0 - The Official Guide
ISBN: B003D7JU58
EAN: N/A
Year: 2006
Pages: 137

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net