WebSphere WebSphere Business Integration Message Service Clients for C/C++ Version 1.2.7 and .NET Version 1.2.6 Operating Systems: AIX, Linux, Solaris, Windows

Required properties for administered ConnectionFactory objects

When an application creates a connection factory, a number of properties must be defined to create a connection to a messaging server.

The properties listed in the following tables are the minimum required for an application to set to create a connection to a messaging server. If you want to customize the way that a connection is created, then your application can set any additional properties of the ConnectionFactory object as necessary. For further information, and a complete list of available properties, see Properties of ConnectionFactory.

Connection to a WebSphere MQ queue manager

Table 1. Property settings for administered ConnectionFactory objects for connections to a WebSphere MQ queue manager
Required XMS Equivalent WebSphere MQ JMS property required
XMSC_CONNECTION_TYPE XMS works this out from the connection factory class name and TRANSPORT (TRAN) property.
XMSC_WMQ_HOST_NAME HOSTNAME (HOST)
XMSC_WMQ_PORT PORT

Real-time connection to a broker

Table 2. Property settings for administered ConnectionFactory objects for real-time connections to a broker
Required XMS Equivalent WebSphere MQ JMS property required
XMSC_CONNECTION_TYPE XMS works this out from the connection factory class name and TRANSPORT (TRAN) property.
XMSC_RTT_HOST_NAME HOSTNAME (HOST)
XMSC_RTT_PORT PORT

Connection to a WebSphere service integration bus

Table 3. Property settings for administered ConnectionFactory objects for connections to a WebSphere service integration bus
XMS property Description
XMSC_CONNECTION_TYPE The type of messaging server to which an application connects.. This is determined from the connection factory class name.
XMSC_WPM_BUS_NAME For a connection factory, the name of the service integration bus that the application connects to or, for a destination, the name of the service integration bus in which the destination exists.
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
Secure connections to a WebSphere MQ queue manager
Secure connections to a WebSphere service integration bus messaging engine
Related tasks
Creating administered objects
InitialContext objects
Related reference
Required properties for administered Destination objects
ConnectionFactory (for the C class)
ConnectionFactory (for the C++ class)
IConnectionFactory (for the .NET interface)
Properties of ConnectionFactory

Reference topic

Terms of Use | Rate this page

Last updated: 18 Jun 2008

© Copyright IBM Corporation 2005, 2008. All Rights Reserved.