text: var args = process.argv.slice(2)
  var queuename = "<QUEUENAME>"
  
  var open = require('amqplib').connect('amqp://<USERNAME>:<PASSWORD>@<HOST>:5672');
  
  // Consumer
  open.then(function(conn) {
      return conn.createChannel();
    }).then(function(ch) {
      return ch.assertQueue(queuename).then(function(ok) {
        return ch.consume(queuename, function(msg) {
          if (msg !== null) {
            console.log(msg.content.toString());
            ch.ack(msg);
          }
        });
      });
    }).catch(console.warn);