JMS Core Architecture

The core architecture behind JMS is depicted in Figure 12.5. Here we see that JNDI is used to create an initial context to a JMS connection factory that is then used to create connections to JMS-based service providers. Given a JMS connection, a particular session context can be retrieved to create message producers and message consumers. Messages sent from a producer to a consumer are associated with a particular endpoint destination. At the consumer end of a messaging session, filtering of messages can be achieved using a message selector String.

Figure 12.5. The JMS core architecture.

JMS Connections

Figure 12.6 depicts ...

Get BEA WebLogic Server™ 8.1 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.