queue-stream
This module provides a simple stream interface to an AMQP message queue. The objective is to provide a small simple way of consuming JSON based messages from a queue, with a way of dispatching events based on routing keys used in AMQP.
Usage
This example is designed to be run from the command line as follows, it will output anything sent via the queue to STDOUT.
"use strict"; var es = ;var amqplib = ;var queueStream = ;var log = 'write-stream-to-stdout'; var open = amqplib; var queueParams = "durable": true; ;
TODO
- Add the option to just pass an AMQP URL.
License
Copyright (c) 2013 Mark Wolfe Licensed under the MIT license.