setInitialConnectionTimeout procedure
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
Sets a time limit in seconds on the initial Fault tolerant connection attempt to the SonicMQ Broker.
Note: The JMS providers other than SonicMQ do not support this method.
Syntax
|
Applies to
Message objects
Notes
- Only for Fault Tolerant connections.
- The default is 30 seconds. The timeout value specifies the timeout in seconds. A timeout value of 0 indicates no timeout (that is, the connect will be attempted indefinitely).
- This procedure must be called before beginSession procedure is called.
- The URLs specified in setConnectionURLs procedure are used to attempt to connect to a SonicMQ Broker.
- If the time limit is reached without being able to connect, the application calls the Adapter error handler.
See also
setFaultTolerant procedure, getFaultTolerant function, isFaultTolerant function, createChangeStateConsumer procedure, setFaultTolerantReconnectTimeout procedure, getFaultTolerantReconnectTimeout function, setInitialConnectionTimeout procedure, getInitialConnectionTimeout function, setClientTransactionBufferSize procedure, getClientTransactionBufferSize function
For more information, see the Fault tolerance and the Fault tolerance.