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

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

PROCEDURE setPingInterval.
DEFINE INPUT PARAMETER pingInterval AS INTEGER.

Parameter

pingInterval
The interval (in seconds).

Applies to

Session objects

Notes

*No pinging is performed by default.
*The setPingInterval functionality 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 srvrStartupParam property of the OpenEdge Adapter for SonicMQ, as shown:
srvrStartupParam=pingInterval=3
*The setPingInterval procedure must be called before beginSessionprocedure is called.

See also

For more information, see the Setting and getting JMS connection and session attributes, and also see SonicMQ Programming Guide.