public static void main(String[] argv) {
        if (argv.length == 2) {
            if (argv[0].equals("rabbitmq"))
                systemToCheck = "rabbitmq";
            else if (argv[0].equals("sqs"))
                systemToCheck = "sqs";
            else if (argv[0].equals("both"))
                systemToCheck = "both";
            else
                printUsage();

            numberOfMessages = Integer.parseInt(argv[1]);
        }
       

        if (systemToCheck.equals("rabbitmq") || systemToCheck.equals("both")) {
            startRabbitMQPublisher(numberOfMessages);
            //startRabbitMQConsumer(numberOfMessages);
        }

        if (systemToCheck.equals("sqs") || systemToCheck.equals("both")) {
            startSQSPublisher(numberOfMessages);
            startSQSConsumer(numberOfMessages);
        }
    }