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 | Checking the Keep-Alive Settings for a Gateway Broker
 
Checking the Keep-Alive Settings for a Gateway Broker
To get the gateway Broker's current keep-alive setting for a particular territory, you use the BrokerAdminClient.getTerritoryGatewayKeepAlive method. This method returns the gateway Broker's current keep-alive interval (in seconds) for a given territory.