Questions tagged [spring-websocket]
A Spring Framework module that support WebSocket-style messaging in web applications (native websocket and with SockJS support), including use of STOMP as an application level WebSocket sub-protocol.
spring-websocket
1,479
questions
0
votes
0
answers
47
views
React Native and WebSocket communication - StompJS will not connect for me, alternatives?
I have a springboot application that is hosting my websocket endpoints, I can connect to the endpoints and subscribe to a specific topic and get the results perfectly fine using React and StompJS and ...
0
votes
0
answers
31
views
Having problem with sending message to the Client-Side
I'm using WebSocketMessageBrokerConfigurer on Java Spring. I need to print a message on the client side that is subscribed to server every time I send request to this API routes:
@PostMapping("/...
0
votes
0
answers
40
views
CORS issues when connecting to a WebSocket for SpringBoot + React projects
im trying to implement a collaborative whiteboard using a spring boot.
so i created WebMvcConfig and applied cors settings.
import org.springframework.context.annotation.Configuration;
import org....
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.
-1
votes
1
answer
35
views
Unable to hit the websocket endpoint from frontend
I am writing have configured websocket endpoint using below given code at backend part. And I created a endpoint in controller. Now I am hitting the url from front end but the controller method is not ...
0
votes
0
answers
37
views
Websocket Connected and Subscribbed, but clients are not recieved messages from server
I am creating a websocket client using the .net Websocket package, and Spring boot is my server, i also have other js clients which they are working correct, no problem about them.
The problem is when ...
0
votes
0
answers
49
views
Extract data from the application
I want to find the information or addresses that the mobile or desktop application communicates with,
but I can't.
I want to find out somehow how the user name search process is done inside it.
What ...
0
votes
0
answers
26
views
StompEndpoint NullPointerException Error on Unit Testing
Here is my code block:
@Test
public void testRegisterStompEndpoints() {
// Arrange
StompEndpointRegistry registry = mock(StompEndpointRegistry.class);
WebSocketConfig ...
0
votes
0
answers
31
views
SpringBoot app terminated immediately after establishing connection via Websocket
I've created a pet project for evaluating how to send a message from server to clients via Websockets.
You can find the code here: https://github.com/sergmain/spring-boot-websockets
If I run server ...
0
votes
0
answers
51
views
SpringBoot and Mybatis-plus andWebsocket Qusetion
When I create a connection via websocket, I want to find the user's information from the database and store it in "friendsList" but when I call "getUserByUid" via "userMapper&...
0
votes
0
answers
39
views
WebSocketStompClient message on connection event
I'm trying to connect to my web socket with WebSocketStompClient.
The code of my client looks like this
WebSocketContainer container = ContainerProvider.getWebSocketContainer();
container....
0
votes
0
answers
61
views
Spring websocket issues
it's the first time I've used websocket in spring...
I created a microservices app and now I need to use websockets to create a very simple notification system...
I don't know if this would be a good ...
0
votes
0
answers
35
views
WebSocket cluster+Rabbitmq dynamic queue
I have a service that uses Spring WebSocket, and the client connects to my service through WebSocket. At this point, my service needs to implement cluster deployment because WebSocket sessions cannot ...
0
votes
1
answer
156
views
Web Socket using Java spring boot
Hi stack overflow family,
I am a beginner in web socket using java spring boot. I have followed some tutorials about it but I am facing issue to test it on postman.
I am not getting that how to test ...
0
votes
0
answers
43
views
Spriing WebFlux WebSocket Handler Mapping and Replacing path for messages
i want to know does anybody know how can i achive of makeing a universal bath based on path variable for websocket, also i would like to know how could i handle message sending to specific url in ...