0.0.4 • Published 9 years ago

rabbit-pie v0.0.4

Weekly downloads
4
License
ISC
Repository
github
Last release
9 years ago

#rabbitpie

library for making amqp as easy as pie in nodejs

##Example

rabbitPie.connect().then(function (connection) {
    return connection.declareExchange('testing');
}).then(function (exchange) {
    return exchange.createQueue();
}).then(function (queue) {
    return queue.bind('#'); //returns the queue again for easy chaining
}).then(function (queue) {
    queue.on('message', function recievedMessage(message, headers, deliveryInfo) {
        console.log(arguments);
    });
});
0.0.4

9 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago

0.0.0

10 years ago