开发者

RabbitMQ Messaging In Node.JS?

I need to use RabbitMQ to publish and subscribe to queues in Node.j开发者_如何学Cs

I already done it in Ruby but I need to do the work in Node.js and I don't find any resource.

Is there any method ? or Library to make it use ?


You can use the AMQP library for node. On github: http://github.com/postwait/node-amqp#readme, and in npm:

$ npm install amqp


You might also want to look at rabbit.js which provides a socket-oriented API for node.js with the rabbitMQ back-end.


you can use amqp library.

npm install amqp

small tutorial on rabbitmq official website: amqp hello world node.js example

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜