Obtaining Gateway Statistics
You can use the BrokerAdminClient.getTerritoryGatewayStats method to obtain statistics about a territory gateway. These statistics include information about the gateway Broker as well as information about the number of events that have been enqueued, forwarded, and received.
You must provide the name of the territory whose statistics are to be returned.
The statistics are returned as an event, for convenience.