Contents

Enabling Pinging

Icon

This configuration is done in the offline mode.

  1. Launch the Fiorano Studio, and open the Profile Manager.
  2. Right-click the Profiles node and select Open Profile from the pop-up menu. Select the desired profile, and click Open .
  3. Navigate to FMQConfigLoader MBean. It can be found in domain Fiorano > etc.
  4. In the Properties pane, enable the parameter PingEnabled property.

4. Save the profile.

Icon

From FioranoMQ 9.1.0 release onwards, the PingEnabled parameter is set to 'true' by default. This property can be controlled if client connections are automatically pinged. Pinging is essential for detecting Network problems. Enabling 'pinging' will make sure that the connections that are no longer valid are properly closed and the resources they use are cleaned up in the FioranoMQ Server.

Modifying Ping Timeout Interval

Icon

This configuration is done in offline mode.

  1. Launch the Fiorano Studio. Open the Profile Manager and open the desired profile as explained above.
  2. Navigate to PingManager MBean. It can be found in domain Fiorano > etc.
  3. Modify the parameter Pinger Timeout as shown in the Properties pane of Mbean to the desired value (in milliseconds).

4. Right-click the FioranoMQ node and select Save option from the pop-up menu.

Verifying Ping Setup

Ping can be verified by following any one of the approaches mentioned below:

Increase the trace level for Logger named Fiorano > FMQ > Ping. In the PropertiesofPing pane, change the LogLevel to Verbose. This results in generating ping related logs in the server. Using an application, create a connection. Set an exception listener, and start the connection. Disable the network connection.

Icon

Please note that listeners onException should be carried out within the ping timeout interval.

Adaptavist ThemeBuilder EngineAtlassian Confluence