
JMS Physical Destinations
JMS Connection Factories
JMS connection factories are objects that allow an application to create other JMS objects programmatically. These administered objects implement the ConnectionFactory, QueueConnectionFactory, and TopicConnectionFactory interfaces. Using the Enterprise Server Admin Console, you can create, edit, or delete a JMS Connection Factory. The creation of a new JMS connection factory also creates a connector connection pool for the factory and a connector resource.
To manage JMS connection factories using the
JMS Destination Resources
JMS destinations serve as the repositories for messages. Using the Admin Console, you can create, modify or delete JMS Destination Resources. To create a new JMS Destination Resource, select Resources >JMS Resources >Destination Resources. In the Destination Resources page, you can specify the following:
■JNDI Name for the resource. It is a recommended practice to use the naming subcontext prefix jms/ for JMS resources. For example: jms/Queue.
■The resource type, which can be javax.jms. Topic or javax.jms.Queue.
■Additional properties for the destination resource. For more details about all these settings and the additional properties, refer to the Admin Console Online Help.
To manage JMS destinations using the
Tip – To specify the addresslist property (in the format host:mqport,host2:mqport,host3:mqport) for asadmin
For more information on using escape characters, see the asadmin(8) man page.
JMS Physical Destinations
For production purposes, always create physical destinations. During the development and testing phase, however, this step is not required. The first time that an application accesses a destination resource, Message Queue automatically creates the physical destination specified by the Name property of the destination resource. The physical destination is temporary and expires after a period specified by a Message Queue configuration property.
Chapter 4 • Configuring Java Message Service Resources | 65 |