setPingInterval procedure
- Last Updated: August 26, 2021
- 1 minute read
- OpenEdge
- Version 12.2
setPingInterval procedure
Specifies the interval in seconds for the JMS Adapter to actively ping the SonicMQ Broker so communication failure can be detected promptly.
Note: The JMS providers other than SonicMQ do not support this method.
Syntax
|
Parameter
- pingInterval
- The interval (in seconds).
Applies to
Session objects
Notes
- No pinging is performed by default.
- The
setPingIntervalfunctionality is a SonicMQ extension (see SonicMQ Programming Guide). - A pingInterval value can also be specified
in the ubroker.properties file for all clients
by using the
srvrStartupParamproperty of the OpenEdge Adapter for SonicMQ, as shown:
|
- The
setPingIntervalprocedure must be called before beginSession procedure is called.
See also
For more information, see the Setting and getting JMS connection and session attributes, and also see SonicMQ Programming Guide.