MQChannelDefinition

 




java.lang.Object
  |
  *- com.ibm.mq.MQChannelDefinition

public class MQChannelDefinition
extends Object

Use the MQChannelDefinition class to pass information concerning the connection to the queue manager to the send, receive, and security exits.

Note:
This class does not apply when connecting directly to WebSphere MQ in bindings mode.

 

Variables

channelName
public String channelName

The name of the channel through which the connection is established.

connectionName
public String connectionName

The TCP/IP hostname of the machine on which the queue manager resides.

maxMessageLength
public int maxMessageLength

The maximum length of message that can be sent to the queue manager.

queueManagerName
public String queueManagerName

The name of the queue manager to which the connection is made.

receiveUserData
public String receiveUserData

A storage area for the receive exit to use. Information placed here is preserved across invocations of the receive exit, and is also available to the send and security exits.

remotePassword
public String remotePassword

The password used to establish the connection.

remoteUserId
public String remoteUserId

The user id used to establish the connection.

securityUserData
public String securityUserData

A storage area for the security exit to use. Information placed here is preserved across invocations of the security exit, and is also available to the send and receive exits.

sendUserData
public String sendUserData

A storage area for the send exit to use. Information placed here is preserved across invocations of the send exit, and is also available to the security and receive exits.

sslPeerName
public String sslPeerName

If SSL is used to encrypt data on the wire, this is set to the Distinguished Name presented by the queue manager during connection. If SSL is not used, it is left at null.

 

Constructors

MQChannelDefinition
public MQChannelDefinition()

 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.