WebSphere Message Service Clients for C/C++ and .NET, Version 1.2 Operating Systems: Linux, Windows

Creating administered objects

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

For further details about the different types of administered object repository that XMS supports, see Supported types of administered object repository.

Why and when to perform this task

To create the administered objects for WebSphere MQ, WebSphere Business Integration Event Broker, or WebSphere Business Integration 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 need to do.

Steps for this task

  1. 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 connection factory properties.
  2. Create the required destination on the messaging server that your application will connect to:
    • 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 destination properties.

Related concepts
Supported types of administered object repository
Property mapping for administered objects
InitialContext properties
URI format for XMS initial contexts
JNDI Lookup web service
Retrieval of administered objects
Administered objects
Connection factories and connections
Connecting to a WebSphere service integration bus
Related tasks
Creating an InitialContext
Related reference
Required connection factory properties
Required destination properties
ConnectionFactory (for the C class)
ConnectionFactory (for the C++ class)
IConnectionFactory (for the .NET interface)
Properties of ConnectionFactory
Destination (for the C class)
Destination (for the C++ class)
IDestination (for the .NET interface)
Properties of Destination

Task topic

Terms of Use | Rate this page

Last updated: 7 Dec 2005

© Copyright IBM Corporation 2005. All Rights Reserved.