in src/main/java/org/apache/servicemix/executors/impl/ManagedExecutor.java [176:202]
protected String getDescription(javax.management.MBeanFeatureInfo info) {
if ("name".equalsIgnoreCase(info.getName())) {
return "Name of the endpoint";
}
if ("properties".equalsIgnoreCase(info.getName())) {
return "Properties associated to this endpoint";
}
if ("inboundExchangeCount".equalsIgnoreCase(info.getName())) {
return "Number of exchanges received";
}
if ("inboundExchangeCount".equalsIgnoreCase(info.getName())) {
return "Number of exchanges received";
}
if ("inboundExchangeRate".equalsIgnoreCase(info.getName())) {
return "Exchanges received per second";
}
if ("outboundExchangeCount".equalsIgnoreCase(info.getName())) {
return "Number of exchanges sent";
}
if ("outboundExchangeRate".equalsIgnoreCase(info.getName())) {
return "Exchanges sent per second";
}
if ("reset".equalsIgnoreCase(info.getName())) {
return "Reset statistics";
}
return null;
}