Release 10.1A: OpenEdge Development:
Messaging and ESB

> ## setPingInterval procedure

> Specifies the interval in seconds for the JMS Adapter to actively ping the SonicMQ Broker so communication failure can be detected promptly.

> #### Syntax

>     PROCEDURE setPingInterval.
>     DEFINE INPUT PARAMETER pingInterval AS INTEGER.

> #### Parameters

> ``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 the beginSession procedure is called.

> #### See also

> For more information, see the "Setting and getting JMS connection and session attributes" section. (Also see SonicMQ Programming Guide .)

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095