4

I'm completely new to Node.JS, if I want to pass messages to external systems using a message/event/servicebus.. what alternatives are there that integrates well with Node?

The messages are just JSON strings, and external systems can be whatever, e.g. a C# agent or some such.

(Maybe this should be on some other part of the site cluser than stackoverflow since it's more of a tech question than programming)?

Pickels
  • 33,902
  • 26
  • 118
  • 178
Roger Johansson
  • 22,764
  • 18
  • 97
  • 193

4 Answers4

3

I built a proof of concept for gameinformer.com's commenting system with nodejs/mogodb as the comment service, sending messages to RabitMQ (with node-amqp) and HornetQ (with stomp). A message bus is definitely the way to go if you're building enterprise level applications. I haven't tried sending messages from nodejs to MSMQ but when I do, my first attempt will be with the node js stomp module.

Joey Guerra
  • 596
  • 6
  • 11
0

You can use something like Zeromq, redis or you can use a transport protocol like TCP or HTTP.

Pickels
  • 33,902
  • 26
  • 118
  • 178
0

You are not very specific. But Node.js gives you several options. And you could always use one of these, if you want to implement something yourself:

http://nodejs.org/api/net.html

http://nodejs.org/api/http.html

Werner Kvalem Vesterås
  • 10,226
  • 5
  • 43
  • 50
0

IMHO I would suggest to use a message broker. You may use ActiveMQ with node.JS through Stomp (node.js plugin). I have implement such architecture and has serve me well for JSON-body-messages ( average 6k TPS ). Both ActiveMQ and Stomp are lightweight enough and easy to serve your application's logic and scalability.

If you can't/don't want to use an external message broker you may use only the Stomp as it provides API for any of the most used technologies (from php to C#,Java & C++). (with activeMQ you could also use JS client through Websocket & Ajax)

Cheers!

Evan P
  • 1,767
  • 1
  • 20
  • 37