I'm using jboss messaging 1.4 with jboss as 4.2.0-GA
Is there any way to enable message counters on the ServerPeer mbean in the config file? I see there is a method you can invoke on the ServerPeer. Can I configure the server to automatically invoke this method, or do I have to write my own mbean that invokes this method?
There's no way to do this automatically currently.
If you like you could add a feature request in JIRA to add a parameter which if true would enable message counters on start up.