Hi,
I am using webMethods API to inspect a broker document subscriber health condition.Below is the sample code.
BrokerClient bkrClient = BrokerClient.newOrReconnect(“brokerhost”,“broker”,“client”,“IntegrationServer”,"IntegrationServer ",null);
BrokerEvent[] bkrEvents = bkrClient.getEvents(2000, BrokerClient.DO_NOT_ACK,20000);
for(int i=0; i < bkrEvents.length; i++)
{
[I]System.out.println(bkrEvents.toString());
}
The above code is getting only 160 events as output though I have 2500 events in the broker subscriber queue.
Any thoughts on this issue
Thanks
pravs