// add the multi-user chat module and create a few test rooms
Conference conference = new Conference("test conference");
conference.createRoom(EntityImpl.parseUnchecked("camel-anon@apache.camel"), "camel-anon", RoomType.FullyAnonymous);
conference.createRoom(EntityImpl.parseUnchecked("camel-test@apache.camel"), "camel-test", RoomType.Public);
xmppServer.addModule(new MUCModule("conference", conference));
}
} catch (Exception e) {
throw new RuntimeException("An error occurred when initializing the XMPP Test Server.", e);
}
}