IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Broker document subscriber issue

  • 1.  Broker document subscriber issue

    Posted Fri July 27, 2007 04:13 AM

    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


    #Integration-Server-and-ESB
    #Universal-Messaging-Broker
    #broker
    #webMethods


  • 2.  RE: Broker document subscriber issue

    Posted Fri July 27, 2007 10:00 PM

    You should probably use BrokerAdminClient.getClientStatsById instead. That gives you several statistical values, including the number of events queued.


    #Universal-Messaging-Broker
    #Integration-Server-and-ESB
    #webMethods
    #broker