Questions tagged [stompjs]

The Stomp module provides you with a client interface for interacting with STOMP messaging brokers.

98 questions
0
votes
1 answer

How do I connect to RabbitMQ from my ReactJS application?

Im having trouble connecting to a RabbitMQ instance and can not find a good tutorial or guide for doing so. I can connect to a RabbitMQ websocket by var ws = new WebSocket('ws://localhost:15674/ws') But now I don't know how to connect to my…
QThompson
  • 1,599
  • 3
  • 16
  • 40
0
votes
0 answers

How to control subscribing to an exchange via stomp js?

I'm trying to connect to rabbitmq sever from the browser using the stompjs library. Right now every client can subscribe to any exchange. Is there a way to prevent a client from subscribing to a specific exchange?
Jahan
  • 363
  • 6
  • 16
0
votes
1 answer

Stomp not sending the messages recieved from client

i m facing a problem with the integration of stompjs and spring boot app .I tried a code unfortunately does not work i did not the reason .Actually the client fill a form and after submitting he sent the number of order to the other connected users…
mimo2000
  • 35
  • 8
0
votes
1 answer

Error while compiling the angular project

[ERROR in ./node_modules/stompjs/lib/stomp-node.js Module not found: Error: Can't resolve 'net' in 'C:\ANGULAR\websocket-example\node_modules\stompjs\lib'][1] added stompjs to angular by npm install stompjs --save imported into component.ts import…
Arun Girivasan
  • 532
  • 1
  • 10
  • 24
0
votes
1 answer

Angular & StompJS provokes Karma test load failure

We are using Angular 5.2.0 and we recently added StompJS 2.2.3 for WS features. "dependencies": { "@angular/animations": "^5.2.0", "@angular/common": "^5.2.0", "@angular/compiler": "^5.2.0", "@angular/core": "^5.2.0", …
Kamalen
  • 766
  • 6
  • 21
0
votes
1 answer

STOMPJS over and subscribe methods not working with Spring, SockJs, npm, webpack

I want to use websocket with SockJs and Stomp client-side, and Java server-side, in a Spring-boot web application. I have installed with npm sockjs-client and stompjs. My client-side code is: var SockJS = require('sockjs-client'); var Stomp…
Catechacha
  • 123
  • 4
  • 13
0
votes
0 answers

Spring Websocket disconnect . exception

I use Spring Websocket ( exactly this example Template for my appl ) and somethimes I get this exception at bottom if I invoce disconnect at client: $scope.$on('$destroy', function() { // invoked if page is leaved if (vm.stompClient !=…
quma
  • 5,233
  • 26
  • 80
  • 146
0
votes
0 answers

Inject Stomp service to a JavaScript Class

I'm using the Stomp.js framework to send and receive data from a Websocket. So I have to make a class to help the implementation of the Stomp message sender. Then I made a class bellow: WebSocket.js function WebSocket() { var host = { protocol:…
Paulo Teixeira
  • 448
  • 5
  • 11
1 2 3 4 5 6
7