This illustration shows use case Setting a Ping Period for the Exception Listener of the class Connection in the JMS Operational Interface.
To set a ping period, you must specify the ping period (long).
The method used is setPingPeriod.