createChangeStateConsumer procedure
- Last Updated: August 26, 2021
- 1 minute read
- OpenEdge
- Version 12.2
Creates a "Change State" handle to contain the state of the SonicMQ Broker connection changes.
Note: The JMS providers other than SonicMQ do not support this method.
Syntax
|
Applies to
Session objects (ClientConnect and ServerConnect only).
Notes
- Only applicable for Fault Tolerant connections.
- Call #rfi1387308628892 after beginSession procedure.
- In the "Change State" handler, the character header property
"state" will contain one of the following values:
"active","reconnecting","failed", or"closed". - Setting up a change-state handler is optional. If not done, the default is to not notify the application of state changes.
See also
setFaultTolerant procedure, getFaultTolerant function, isFaultTolerant function, #rfi1387308628892, setFaultTolerantReconnectTimeout procedure, getFaultTolerantReconnectTimeout function, setInitialConnectionTimeout procedure, getInitialConnectionTimeout function, setClientTransactionBufferSize procedure, getClientTransactionBufferSize function
For more information, see the Fault tolerance and the Fault tolerance.