setClientID procedure

Sets the client ID value for the JMS-provider Broker connection and overwrites the default client ID set on the server side.

Syntax

PROCEDURE setClientID. 
DEFINE INPUT PARAMETER clientID AS CHARACTER.

Parameter

clientID
Client ID value for the JMS-provider Broker connection.

Applies to

Session objects

Notes

  • A client ID is required for durable subscriptions and for client persistence.
  • If called, setClientID procedure overwrites the default client ID set on the server side.

See also

setClientID procedure, getClientID function

For more information, see the Setting and getting JMS connection and session attributes, the Methods unique to Pub/Sub messaging, and the Subscribing to a topic.