开发者

RabbitMQ Messaging In Node.JS?

开发者 https://www.devze.com 2023-03-31 05:51 出处:网络
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.

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

精彩评论

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

关注公众号