Try OpenEdge Now
skip to main content
Messaging and ESB
ABL - JMS API Reference : setClientID procedure
 

setClientID procedure

Sets the client ID value for the SonicMQ 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 SonicMQ Broker connection.

Applies to

Session objects

Notes

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

See also

setClientIDprocedure, getClientIDfunction
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.