chosenBroker = subBroker2;
}
}
if(sum>ownSum){
BrokerUpdateMessage message = new BrokerUpdateMessage(chosenBroker.getMessageService().getConnectionInfo(),curCon);
messageList.addMessage(message);
System.out.println("Forwarded Consumer from "+subBroker.getMessageService().getConnectionInfo().getHost()
+":"+subBroker.getMessageService().getConnectionInfo().getPort()+" to "
+chosenBroker.getMessageService().getConnectionInfo().getHost()+":"
+chosenBroker.getMessageService().getConnectionInfo().getPort());