Added creaton of job queue in amqpCommand function.