Undocumented properties that control heartbeat and connections tear down in TWM.

Undocumented properties that control heartbeat and connections tear down in TWM.

book

Article ID: KB0089573

calendar_today

Updated On:

Products Versions
TIBCO Web Messaging for TIBCO Enterprise Message Service -
Not Applicable -

Description

Resolution:
Heartbeat is essential for managing a peer to peer connection that is stateful. You can turn on the heartbeat for TIBCO Web Messaging for TIBCO EMS (TWM) In the gateway start up script -- gateway.start(.bat), in the form of JVM properties.

Heartbeat between servers can be enabled by setting:

-Dcom.kaazing.gateway.transport.ws.INACTIVITY_TIMEOUT=<number of seconds>

For heartbeats between client and server, the same property can be used with the exception of Flash client, which takes a specific property

-Dcom.kaazing.gateway.server.transport.wse.IDLE_TIMEOUT=<number of seconds>

The actual heartbeat frequency is roughly half of the configured timeout, therefore if 2 heartbeats are missed in a row, the connection will be considered broken.

Note that when those properties are absent, no heartbeat is exchanged.

Issue/Introduction

Undocumented properties that control heartbeat and connections tear down in TWM.