WebLogic Messaging API Class Library

IConnection.ClientID Property

Gets or Sets the client identifier for this connection as a string.

This value is either preconfigured by an administrator in a IConnectionFactory object, assigned dynamically by the application by calling the setClientID method, or is not assigned a value.

 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 JMS 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