Broker 10.5 | webMethods Broker Documentation | webMethods Broker Administration Java API Programmer’s Guide | Managing Broker Territories | Using Territories | Maintaining a Connection Between Brokers in a Territory
 
Maintaining a Connection Between Brokers in a Territory
 
Activating the Keep-Alive Feature between Territory Brokers
Checking the Keep-Alive Settings for a Broker
In network configurations where territory 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, you can use the BrokerAdminClient.setRemoteBrokerKeepAlive method. This method causes a remote Broker to periodically issue "keep-alive" messages to another Broker in its territory, preventing the connection between them from remaining idle too long.