Broker 10.5 | webMethods Broker Documentation | webMethods Broker Administration Java API Programmer’s Guide | Managing Broker Territories | Using Territory Gateways | Maintaining a Connection Between Gateway Brokers
Maintaining a Connection Between Gateway Brokers
Activating the Keep-Alive Feature between Gateway Brokers
Checking the Keep-Alive Settings for a Gateway Broker
In network configurations where gateway Brokers are separated by a firewall, the firewall may terminate a connection if the connection remains idle for a long period of time. To prevent this from occurring between gateway Brokers, you can use the BrokerAdminClient.setTerritoryGatewayKeepAlive method. This method causes a gateway Broker to periodically issue "keep-alive" messages to the other Broker, preventing the connection between them from remaining idle too long.