Broekr Queue status

How do I create a service (flow or java) to check the pending messages, last published timestamp, trigger is enabled or not?

Please suggest any API or built in service which has this capability.

You can go thru any of these docs for broker APIs:

webMethods_Broker_Administrator_Java_API_Programmer’s_Guide_6_5 or
webMethods_Broker_Client_Java_API_Programmer’s_Guide_6_5

You can also look at some services in wm.broker.admin that are used by the BrokerAdmin page but be carefull while using them.

BTW, you are in the wrong place to post questions.

-HTH