Trigger queue API

Hi,

how can I easy get trigger queue current length?

Hi,

You want to know the number of documents present in a trigger queue which is disconnected ???

Cheers,
Ambrish

Yes, trigger is suspended.

In MWS, the statistics of a trigger can be checked.

MWS --> Messaging --> Clients --> Search for that trigger and select Statistics tab.

Here the Queue length can be verified and the documents present in the queue can be cleared.

Cheers,
Ambrish

You’ve misunderstood me, I know how to verify this in MWS. I want to get this value by java service passing trigger name.

[color=blue]I misunderstood your question earlier. :slight_smile:

There are many Broker Client Java APIs explained in Broker_Java_Client_Programmers_Guide.pdf.

I think BrokerClient.getQueueLength() method will help. [/color]

Cheers,
Ambrish