The ConnectionFactory and Destination object definitions that XMS applications require
to make a connection to a messaging server must be created using the appropriate
administrative tools.
Before you begin
Why and when to perform this task
To create the administered objects for WebSphere MQ, WebSphere Event Broker, or WebSphere Message
Broker,
use the WebSphere MQ JMS
administration (JMSAdmin) tool.
To create administered
objects for WebSphere service integration bus,
use the WebSphere Application Server administrative
console.
The following steps summarize what you do to create administered
objects.
Steps for this task
- Create a connection factory and define the properties needed to
create a connection from your application to your chosen server. The
minimum properties that XMS requires
to make a connection are defined in Required properties for administered ConnectionFactory objects.
- Create the required destination on the messaging server to which
your application will connect:
- For a connection to a WebSphere MQ queue manager, create a queue
or topic.
- For a real-time connection to a broker, create a topic.
- For a connection to a WebSphere service integration bus,
create a queue or a topic.
The minimum properties that XMS requires
to make a connection are defined in Required properties for administered Destination objects.