This content has been marked as final.
Show 4 replies
-
-
2. Re: Enabling Message counters
jmesnil Sep 15, 2009 8:36 AM (in response to timfox)"timfox" wrote:
Looking at the current code, message counters are currently only enabled via the HornetQServerControl.
This seems odd to me. Shouldn't they be enabled according to a configuration property?
yes, they can: http://hornetq.sourceforge.net/docs/hornetq-2.0.0.BETA5/user-manual/en/html/management.html#configuring.message.counters -
3. Re: Enabling Message counters
timfox Sep 15, 2009 8:46 AM (in response to timfox)Ok fair enough.
What confused me, is there is an attribute "messageCountersEnabled" on HornetQServerControlImpl - this appears unnecessary - why not just use the attribute in ConfigurationImpl? -
4. Re: Enabling Message counters
jmesnil Sep 15, 2009 8:59 AM (in response to timfox)"timfox" wrote:
Ok fair enough.
What confused me, is there is an attribute "messageCountersEnabled" on HornetQServerControlImpl - this appears unnecessary - why not just use the attribute in ConfigurationImpl?
It was in case the user enable/disable the message counters to avoid modifying the configuration parameter. But there is no harm in doing so.
I'll get it rid of the attribute in HornetQServerControlImpl, it'll make things simpler.