WebLogic Messaging API Class Library

IConnection.ClientID Property

Gets or Sets the client identifier for this connection.

This value is specific to the JMS provider. It is either preconfigured by an administrator in a IConnectionFactory object or assigned dynamically by the application by calling the setClientID method.

 ClientID {get; set;}

Exceptions

Exception TypeCondition
MessageExceptionif the JMS provider fails to return the client ID for this connection due to some internal error.
MessageExceptionif the JMS provider fails to set the client ID for this connection due to some internal error.
InvalidClientIDExceptionif the JMS client specifies an invalid or duplicate client ID.
IllegalStateExceptionif the JMS client attempts to set a connection's client ID at the wrong time or when it has been administratively configured.

See Also

IConnection Interface | WebLogic.Messaging Namespace