Section 7.3. JMS Architecture Overview


7.3. JMS Architecture Overview

We need to understand some of the basics of JMS architecture before using JMS in our application. Here are the players:


JMS Provider

A messaging system that implements the JMS specification. A JMS Provider, also known as a JMS Server, routes messages between clients.


Clients

Java applications that send or receive JMS messages. A message sender is called the Producer, and the recipient is called a Consumer.


Messages

Messages contain data or events exchanged between Producers and Consumers.


Destinations

A Producer sends a message to a JMS Destination (either a Queue or a Topic), and the Consumer(s) listening on the JMS Destination receives the message.

We now will cover messaging models to show how JMS routes messages between Producers and Consumers.



JBoss at Work. A Practical Guide
JBoss at Work: A Practical Guide
ISBN: 0596007345
EAN: 2147483647
Year: 2004
Pages: 197

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