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.
Hi,
how can I easy get trigger queue current length?
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.
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.
There are many Broker Client Java APIs explained in Broker_Java_Client_Programmers_Guide.pdf.
I think BrokerClient.getQueueLength() method will help. [/color]