Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Consuming JMS messages by node.js

Tags:

node.js

jms

Is there any npm module (or just a library) for node.js to consume messages from a JMS endpoint (tcp://jms.someadress.com:61616)

like image 280
Artazor Avatar asked Nov 04 '11 21:11

Artazor


2 Answers

If you are using RabbitMQ (or other AMQP implementator) you can use node-amqp, a module to connect to messaging servers using AMQP protocol.

https://github.com/postwait/node-amqp.git

like image 81
gimco Avatar answered Oct 18 '22 03:10

gimco


Use Stomp protocol with stomp-js or node-stomp-client. ActiveMQ supports Stomp same as JBoss HornetQ. I assume you use ActiveMQ because port number matches to its default.

I guess that there should be also JMS-Stomp bridges which you can use with commercial JMS implementations.

like image 37
gertas Avatar answered Oct 18 '22 04:10

gertas