I have a function for queuing a message to RabbitMQ like so:
amqp.connect(\'amqps:my-url/\').then(function(conn) { return conn.createChannel().then(func