//sendMessagesUsingClients(localUser, remoteServer, remoteUser, remotePassword, keystorePath, keystorePassword);
Thread.sleep(50000);
server.stop();
}
private static void sendMessagesUsingClients(Entity localUser, Entity remoteServer, Entity remoteUser,
String remotePassword, String keystorePath, String keystorePassword) throws XMPPException,
InterruptedException {