* Default Constructor
* @param componentName
*/
public MessagingStats(String componentName) {
this.componentName = componentName;
inboundExchanges = new CountStatisticImpl("inboundExchanges", "Number of Inbound MessageExchanges");
outboundExchanges = new CountStatisticImpl("outboundExchanges", "Number of Outbound MessageExchanges");
inboundExchangeRate = new TimeStatisticImpl("inboundExchangeRate", "time taken to process an Exchange");
outboundExchangeRate = new TimeStatisticImpl("outboundExchangeRate", "time taken to send an Exchange");
addStatistic("inboundExchanges", inboundExchanges);
addStatistic("outboundExchanges", outboundExchanges);
addStatistic("inboundExchangeRate", inboundExchangeRate);