public void disconnect() throws Exception {
gateway.broadcastMessage(new DisconnectMessage());
}
private void sendSendMessage(Log4jLevelChanger levelChanger) throws InterceptException {
SendMessage message = new SendMessage("over/there", "blah");
message.getHeader().setContentType(AbstractBodyMessage.JAVA_BASE64_MIME_TYPE);
message.setBody(levelChanger);
getGateway().broadcastMessage(message);
}