Configure connection factories, queues and service integration
bus destinations for point-to-point messaging.
About this task
For an application to use point-to-point messaging with
JMS queues, you need to configure the following JMS resources. These
JMS resources depend on the corresponding configuration of service
integration resources, including a service integration bus and a queue.
For more information about defining these resources, see the related
tasks.
Procedure
- Configure a connection factory.
Use the connection
factory type that matches the JMS level and domain pattern in which
an application is developed. For example, use a domain-independent
JMS connection factory for a JMS application developed to use JMS
1.1 domain-independent interfaces, and use a JMS queue connection
factory for a JMS application developed to use domain-specific queue
interfaces.
- Configure a queue.
A JMS queue is
an administrative object that encapsulates the name of a queue destination
on a service integration bus. Applications find the JMS queue by looking
up its name in the JNDI namespace.
- Configure a queue destination.
For each JMS
queue, define a bus destination of type queue on the appropriate service
integration bus.