java - Is it possible to send Hornetq jms using websocket in Nodejs while receiver end is in pure JMS? -


i have application receives jms messages in /queue/xxx_queue. , have project in nodejs. have need make jms communication between 2 application. using hornetq jms communication. checked, there way send jms message using websocket , got package called stompjs. using that, trying below code. not getting connected in sender side , not getting error also. receiver jms , hornetq running.

stompjs test code :

var stompjs = require('stompjs'); var stompclient = stompjs.overws('ws://localhost:1099/stomp');  stompclient.connect('', '', function() {     console.log('connected');     stompclient.send('queue/xxx_queue', {}, 'test message'); }, function(error) {     console.log('console : ', error); }); 

i don't know wrong doing here. , there changes needed in receiver end, if using websocket stomp plugin in client end.


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -