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

setConnectionURLs procedure

Specifies a list of broker URLs for the client to try to connect to.
Note: The JMS providers other than SonicMQ do not support this method.

Syntax

PROCEDURE setConnectionURLs.
DEFINE INPUT PARAMETER brokerList AS CHARACTER.

Parameter

brokerList
A comma-separated list of Sonic Broker URLs for the client to use for connecting.

Applies to

Session objects

Notes

*If brokerList is not set to the Unknown value (?), it overrides the URL specified by setBrokerURL procedure.
*Call this procedure instead of setBrokerURL procedure when there is a list of broker URLs.

See also

setConnectionURLs procedure, getConnectionURLs function, setSequential procedure, getSequential function
For more information, see the Managing fail-over support.