Reputation: 297
In my project, I am using on WSO2 Message Broker as a message brokering system.
I want to get some information like number of queues created, number of messages in queue and etc.. to display at my portal. To do this, I want to call message broker apis in my java class.
Can i call message broker apis in Java class ? If yes, Where can i get list of apis which can i use in my java code ?
Upvotes: 0
Views: 146
Reputation: 5712
You can get the information using the AndesAdminService. Code can be found at https://github.com/wso2/carbon-business-messaging/blob/master/components/andes/org.wso2.carbon.andes.admin/src/main/java/org/wso2/carbon/andes/admin/AndesAdminService.java
Upvotes: 0