ApplicationRegistry.initialise(new TestApplicationRegistry(new ServerConfiguration(new PropertiesConfiguration())));
int clients = Integer.parseInt(argv[0]);
int messages = Integer.parseInt(argv[1]);
int iterations = Integer.parseInt(argv[2]);
AveragedRun test = new AveragedRun(new SendPerfTest(clients, messages), iterations);
test.run();
}
/**
* Delivers messages to a number of queues.
* @param count the number of messages to deliver