In my Tigase component i have override getStatistics method to add the statistics ( i.e. no of spam messages, all process packets etc) in the list. How can i access that list outside that method or component.In this Component implementation - Lesson 5 - Statistics its written that "All the server statistics are exposed and are accessible via XMPP with ad-hoc commands, HTTP, JMX and some selected statistics are also available via SNMP" so is there any command which let me to get all the statistics.
Thanks
There are 2 ways to gather Tigase statistics: