this.server.registerMBean(new RouterStats(is), this.inboundName);
}
RouterStatistics os = this.statistics.getOutboundRouterStat();
if (os != null) {
outboundName = new ObjectName(name.toString() + ",router=outbound");
<BUG>if (this.server.queryNames(outboundName, null).size() != 0) {
this.server.unregisterMBean(outboundName);</BUG>
}
this.server.registerMBean(new RouterStats(os), this.outboundName);
}

this.server.registerMBean(new RouterStats(is), this.inboundName);
}
RouterStatistics os = this.statistics.getOutboundRouterStat();
if (os != null) {
outboundName = new ObjectName(name.toString() + ",router=outbound");
if (this.server.isRegistered(outboundName)) {
this.server.unregisterMBean(outboundName);
}
this.server.registerMBean(new RouterStats(os), this.outboundName);
}
