Progress
External Program
Interfaces


setPingInterval

In Session Objects

This procedure specifies the interval in seconds for the JMS Adapter to actively ping the SonicMQ broker so communication failure can be detected promptly. The setPingInterval functionality is a SonicMQ extension. A pingInterval value can also be specified in the srvrStartupParam property of the adapter as a default for all the clients. No pinging is performed by default. setPingInterval must be called before beginSession is called:

SYNTAX
PROCEDURE setPingInterval.  
DEFINE INPUT PARAMETER interval AS INT. 

For information on this procedure in context, see the "Setting JMS Connection and Session Attributes" section in Accessing SonicMQ Messaging From the Progress 4GL." (Also see the SonicMQ Programming Guide .)


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