Questions tagged [web-stomp]

The Web-Stomp plugin is a simple bridge exposing the STOMP protocol over emulated HTML5 WebSockets.

The Web-Stomp plugin is a simple bridge exposing the STOMP protocol over emulated HTML5 WebSockets.

12 questions
8
votes
0 answers

Protocol compatibility problem with SockJS and Webstomp

I'm building webchat with Spring boot and Angular. To do this, I use Websockets with client-side SockJS and Webstomp, and server-side Spring. The problem is I obtain this error on the console in runtime : DEPRECATED: undefined is not a recognized…
mtnp
  • 314
  • 7
  • 24
2
votes
1 answer

Unable to connect to WebSocket with Vue plugin

I'd like to write a vue-plugin to get handy WebSocket methods like connect() and subscribe() in my Vue application. I've got a problem with connecting to WebSocket, it only works when I call connect() method in the mounted hook and load the whole…
kojot
  • 1,634
  • 2
  • 16
  • 32
1
vote
1 answer

How to know if a stomp message have been send correctly?

I am using webstomp to comunicate with my message broker (In this case rabbit). When I want to write a message I do the following: import * as SockJS from 'sockjs-client'; let client = Stomp.over(new SockJS(serverAddress)); client.connect(user,…
GutiMac
  • 2,402
  • 1
  • 20
  • 27
1
vote
1 answer

Problems with RabbitMQ and web-stomp

I'm using RabbitMQ and web-stomp in the web browser according to this tutorial: https://www.rabbitmq.com/web-stomp.htm I succeded to connect and the get messages in the browser. But, the message I sent and consumed in the client is still in the…
Gold100
  • 124
  • 13
1
vote
2 answers

Error with RabbitMQ + Web STOMP + JavaScript client over HTTPS

I'm trying to set up RabbitMQ Web Stomp to subscribe to RabbitMQ queues directly from client-side JavaScript. I have errors when trying to use SSL with the RabbitMQ Web Stomp javascript client. The RabbitMQ server is running properly in a Docker…
0
votes
1 answer

webstomp JS - getting a non-loopback access denied when trying to send rabbitmq message

I'm trying to send messages to rabbitmq with an HTML page with JS script which has the following lines: var client = new StompJs.Client({ brokerURL: 'ws://localhost:15674/ws', connectedHeaders: { login: 'my_rabbit_username',…
0
votes
1 answer

RabbitMQ Web Stomp -- Turn off non-TLS connections?

I have a RabbitMQ instance (running the current 3.7.9 + Erlang 21.1.1) that is working great. I use the Web Stomp plugin to make values available in the browser using websockets and stomp.js. This is also working well. My question is: how do I…
Travis Millburn
  • 307
  • 1
  • 4
  • 9
0
votes
2 answers

Can't use "this" in stomp client subscribe - React

I have my Spring-Boot service setup so I can send messages through websocket to my browser and it works. //@MessageMapping @RequestMapping(value = "/notify") @SubscribeMapping("/notification") @SendTo("/topic/notification") public…
Claim
  • 775
  • 3
  • 12
  • 32
0
votes
1 answer

Monitoring Status of Message Sent to RabbitMQ via Web-Stomp web-socket

Using web-stomp with RabbitMQ and web-socket (SockJS not used), after sending a message to a queue, how can the consumer be notified by the broker or monitor that the sent message has been consumed? I've experimented with subscribing to the queue…
0
votes
1 answer

RabbitMQ STOMP connection

I am working on a fun project which requires me to learn message queues and websockets. I am trying to connect browsers via websockets to an instance of rabbitmq using sockjs rather than pure websockets. On rabbit I have activated the plugins for…
Elsporko
  • 501
  • 4
  • 14
0
votes
1 answer

How to send and receive data from webstomp websocket provided by rabbitmq?

I am writing a chat application without explicit server side web socket. I am using RabbitMQ webstomp as the web socket container and plain Javascript as the cleint to both send and receive data. Below is the flow : Browser -> native…
CS_noob
  • 557
  • 1
  • 6
  • 18
0
votes
1 answer

Prevent RabbitMQ web-stomp client from sending

I have RabbitMQ + WebStomp. I would like totally restrict ability to send info to queue from JavaScript code. Instead only server side should do this. In other words I would like allow following code: ... client.subscribe("/queue/My-One-Way-Queue",…
Dewfy
  • 23,277
  • 13
  • 73
  • 121