Skip to main content

All Questions

0 votes
0 answers
8 views

Does Simple Broker auto deletes the message queue in Stomp Websocket?

I am new to learning Websockets and how they work. In my implementation of Websocket using Springboot (React Client), I am using one connection [ ws://localhost:8080/intl-moa/ws-endpoint (for eg)] I ...
Aakriti Sahrawat's user avatar
1 vote
1 answer
25 views

How to deny preSend() in ChannelInterceptor based on custom check via DB call

Within my WebSocketConfig class: @Configuration @EnableWebSocketMessageBroker class WebsocketConfig(<...>) I override: @Bean(name = ["csrfChannelInterceptor"]) fun ...
Captain Jacky's user avatar
0 votes
0 answers
25 views

@SendToUser doesn't send message to user

I have a problem. I would be very happy if someone could help me with this. My Spring server successfully receives the message and sends a message to "/queue/private-messages", but my ...
Yehor But's user avatar
0 votes
0 answers
50 views

Can't get Stomp JS client to subscribe to my backend websocket built using spring boot

I am trying to build a chat application where the frontend is built using HTML, CSS, JS, and the websockets handling in the backend is built using Java spring boot. The below is my client code. ...
Allen Alex Abraham's user avatar
0 votes
0 answers
19 views

How to find all subscribed clients to a web socket destination in spring boot?

I have a backend running on the spring boot. I have two destinations in my application /user and /queue. I want to print every subscriber on the screen whenever a client subscribes to the /queue.
Thug Life's user avatar
0 votes
0 answers
31 views

Websocket STOMP ConnectionLostException in spring boot API

Seeing the below exception in my application more frequently, tried increasing the send-buffer-size and inbound message size but still same issue. Looking for options to fix this issue. 2024-01-17 18:...
D'DAS's user avatar
  • 1
0 votes
1 answer
27 views

WebSocket ConvertAndSendUser failed to send message to specific user

I try to do a live-streaming bidding. So when the user wins the bid, he is the only person that will receive a message like "You won. An order has been placed." @Override public void ...
Yoey's user avatar
  • 31
1 vote
0 answers
64 views

Subscribe springboot web-socket with Postman

I have created a springboot websocket with a topic @Configuration @EnableWebSocketMessageBroker public class WebSocketConfig implements WebSocketMessageBrokerConfigurer { @Override public void ...
Rathna Prashanth's user avatar
0 votes
0 answers
92 views

WebSocket loop establishes the connection

I use Java language. The code of client are as follow: import javax.websocket.*; import java.io.IOException; import java.util.Scanner; public class Main { public static WebSocketClient client; ...
Glowberry's user avatar
0 votes
0 answers
41 views

Having trouble with the .send() method of WebSocket in Spring Boot Project

I'm trying to make a live poker application using Java Spring Boot Framework. I'm using WebSocket for full-duplex comms between players at the table. Right now I'm trying to make a player-icon show up ...
Aldo's user avatar
  • 1
0 votes
0 answers
370 views

Transport error in WebSocket client :No enum constant org.springframework.messaging.simp.stomp.StompCommand.Hello from the server!Server says: CONNECT

I have a Springboot WebSocket Server application running on ws:localhost:8080/websocket. I developed a Springboot WebSocket client application which must be able to connect to the server and send ...
mohammed talha's user avatar
0 votes
0 answers
971 views

Connecting client to server using Socket.io in Spring Boot Application

how can i Connecting client to server using Socket.io and using Java. I have read this documentation, but unfortunately there are no examples written in Java
Настя's user avatar
1 vote
1 answer
1k views

Is is possible to send message using WebSocket after rest called in spring boot?

Is it possible to send messages using WebSocket after rest called in spring boot? Please help correct me, I have some configure as below //Use to handle connection and text message Class SignalHandler ...
Wzo's user avatar
  • 113
0 votes
0 answers
874 views

Spring boot web socket handler not working with @Autowired

I am trying to create a websocket client in spring boot. I have used WebsocketConnectionmanager to create client with handler but I noticed that the service with @Autowired annotation does not get ...
Siddharth's user avatar
1 vote
1 answer
2k views

spring websocket client does not detect network connection loss

Spring @ClientEndpoint websocket client does not detect network disconnect due to cable unplug. I also have implemented a ping/pong mechanism. Can someone please help me out with what's going on? ...
Rajib Deka's user avatar

15 30 50 per page
1
2 3 4 5