{
final String domainOriginal = "TEST_DOMAIN_1";
// inbound/outbound router statistics are required
final SedaServiceStatistics statistics = new SedaServiceStatistics("TEST_IN", 0, 0);
statistics.setInboundRouterStat(new RouterStatistics(RouterStatistics.TYPE_INBOUND));
statistics.setOutboundRouterStat(new RouterStatistics(RouterStatistics.TYPE_OUTBOUND));
ServiceStats stats = new ServiceStats(statistics);
final ObjectName name = ObjectName.getInstance(domainOriginal + ":type=TEST_NAME");
mBeanServer.registerMBean(stats, name);