Conguring Java Message Service Resources
TheEnterprise Server implements the Java Message Service (JMS) API by integrating the
MessageQueue software into the Enterprise Server. For basic JMS API administration tasks, use
theEnterprise Server Admin Console. For advanced tasks, including administering a Message
Queuecluster, use the tools provided in the MQ-as-install/imq/bin directory. For details about
administeringMessage Queue, see the Message Queue Administration Guide.
Thischapter describes how to congure resources for applications that use the Java Message
Service(JMS) API. It contains the following sections:

JMS Resources

TheJava Message Service (JMS) API uses two kinds of administered objects:
Connectionfactories, objects that allow an application to create other JMS objects
programmatically
Destinations,which serve as the repositories for messages
Theseobjects are created administratively, and how they are created is specic to each
implementationof JMS. In the Enterprise Server, perform the following tasks:
Createa connection factory by creating a connection factory resource
Createa destination by creating two objects:
Aphysical destination
Adestination resource that refers to the physical destination
JMSapplications use the JNDI API to access the connection factory and destination resources.
AJMS application normally uses at least one connection factory and at least one destination. To
learnwhat resources to create, study the application or consult with the application developer.
Thereare three types of connection factories:
QueueConnectionFactoryobjects, used for point-to-point communication
4
CHAPTER 4
63