Properties of Connection

An overview of the properties of the Connection object, with links to more detailed reference information.

Name of property Description
XMSC_WMQ_RESOLVED_QUEUE_MANAGER This property is used to obtain the name of the queue manager to which it is connected.
XMSC_WMQ_RESOLVED_QUEUE_MANAGER_ID This property is populated with the ID of the queue manager after the connection.
XMSC_WPM_CONNECTION_PROTOCOL The communications protocol used for the connection to the messaging engine. This property is read-only.
XMSC_WPM_HOST_NAME The host name or IP address of the system that contains the messaging engine to which the application is connected. This property is read-only.
XMSC_WPM_ME_NAME The name of the messaging engine to which the application is connected. This property is read-only.
XMSC_WPM_PORT The number of the port listened on by the messaging engine to which the application is connected. This property is read-only.

A Connection object also has read-only properties that are derived from the properties of the connection factory that was used to create the connection. These properties are derived not only from the connection factory properties that were set at the time the connection was created, but also from the default values of the properties that were not set. The properties include only the ones that are relevant for the type of messaging server that the application is connected to. The names of the properties are the same as the names of the connection factory properties.

Parent topic: Properties of XMS objects