spring-websocket Questions

1

I am creating a simple client-server demo using websockets. In this demo client can subscribe to different topics. Whenever server has anything to send, it will just send the message on the appropr...
Paperboard asked 24/3, 2015 at 10:59

2

I have created test project according to tutorial @Configuration @EnableWebSocketMessageBroker public class WSConfig implements WebSocketMessageBrokerConfigurer { @Override public void configure...
Loveland asked 3/10, 2021 at 14:46

3

Solved

I am trying to create an websocket endpoint with spring. But Whenever I am trying to connect from the client end, I get 404. I also have an Java implementation with @ServerEndpoint(value = "/webs...
Marabelle asked 17/1, 2015 at 15:19

1

I've got a spring boot app in which I'm adding the websocket feature so that websocket client can make subscription request to subscribe messages off the websocket topic. In my controller's method,...
Lothar asked 4/2, 2022 at 18:58

2

Solved

I am using Spring's STOMP over WebSocket implementation with a full-featured ActiveMQ broker. When users SUBSCRIBE to a topic, there is some permissions logic that they must pass through before bei...
Tennessee asked 16/11, 2015 at 17:46

3

Solved

I am developing a messaging application using Spring REST, Websocket/STOMP and RabbitMQ. We use are using gatling for load/stress testing the REST end points of the application. However, we would l...

5

Finally I have my websocket client connecting to the endpoint but I can't extract message payload. I can get headers but payload is not recognized. My WebSocket client looks like below: WebSocke...
Tenfold asked 29/1, 2018 at 13:16

5

I am using wss (secured web sockets) with spring from backend and STOMP for javascript client. Does anyone knows why a get: Handshake failed due to invalid Upgrade header: null
Dumanian asked 3/7, 2015 at 17:35

2

Solved

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2018-07-25 09:17:32.977 ERROR 8176 --- [ main] o.s.boot.SpringApplication : Applica...
Wurth asked 25/7, 2018 at 13:21

5

Solved

I am new to spring I have this class : public class Server extends TextWebSocketHandler implements WebSocketHandler { WebSocketSession clientsession; @Override public void handleTextMessage(...
Dominoes asked 13/12, 2016 at 18:10

3

I have followed Quetion1 and Quetion2 from stack overflow to send messages to specific client, based on its sessionId but could not find success. Below is my sample RestController class @RestCont...
Levalloisian asked 21/4, 2017 at 7:28

3

Solved

I am trying to configure websocket security with Spring Boot 3, while using spring-boot-starter-parent:3.0.4, going by the @EnableWebSocketSecurity docs which say that I should use the class Messag...
Lesbian asked 17/3, 2023 at 13:54

2

all. I'm new to Spring Boot and Websocket. This is my first integrated React and Spring Boot project and I'm currently building a chat app with a backend using WebSocket. As mentioned, my front end...
Bithia asked 16/5, 2022 at 20:23

4

I'm new to springboot and using springboot 2 version. I would like to run my spring boot application using : java -jar my-app-0.0.1-SNAPSHOT.jar from the command prompt. However, when i build the a...

3

Solved

I am currently working on a project that requires the client requesting a big job and sending it to the server. Then the server divides up the job and responds with an array of urls for the client ...
Nashbar asked 28/4, 2015 at 17:21

5

Solved

I have used spring implementation of sockjs websocket server and unable to transmit message over 8KB, following is the error 2014-02-12 19:36:29,990 - org.springframework.web.socket.sockjs.transpo...
Macmacabre asked 12/2, 2014 at 14:20

2

Solved

I'm building a sample chat app using spring WebSocket, SockJs and Amazon MQ. It is throwing a 'broker not available' exception when the client subscribes to the topic. All the inbound traffic rules...
Cinquain asked 5/10, 2019 at 20:30

1

I am trying to create a simple chat application using websockets. I followed this tutorial: https://www.baeldung.com/websockets-spring. This is my config: @Configuration @EnableWebSocketMessageBrok...
Tonedeaf asked 2/1, 2022 at 10:19

1

I am using Java Spring WebSocket to create a WebSocket server, it actually works if WebSocket client is created from the SAME server. This is my server side code, very simple // WebSocketConfig.jav...
Lessen asked 16/11, 2022 at 2:50

2

I want to integrate chatting into an application I made, and after following some tutorials and running the application I keep getting "Whoops! Lost connection to http://localhost:8080/ws" on my co...
Conway asked 4/5, 2018 at 8:54

2

Solved

I'm developing a Spring Boot WebFlux application for IoT real time data visualization. I have a Flux which simulates data coming from a device, and I want that upon websocket connection establishe...

3

Solved

I'm using Spring WebSocket server implementation for one of my spring based projects. I faced an error saying The remote endpoint was in state [TEXT_PARTIAL_WRITING] which is invalid state. I found...
Oden asked 4/2, 2018 at 11:57

4

Solved

I am facing a problem while deploying a war on to tomcat instance, Tomcat version details, D:\Kiran\Kiran\Softwares DH\Webservers\apache-tomcat-7.0.63\bin>version.bat Using CATALINA_BASE: "D:\...
Dehiscence asked 25/8, 2015 at 11:4

4

Solved

I've a web application using the spring(4.2.x) artifacts spring-webmvc, spring-messaging, spring-websocket I've the below @Enable* annotations in my spring config java class @EnableWebMvc @Enable...
Presbyterate asked 4/8, 2015 at 18:13

5

Solved

I am implementing Spring WebSocket into our Spring MVC web application. However I am running into message over size limits when I am trying to send a really big message to an endpoint. I am getti...
Aleuromancy asked 17/12, 2015 at 19:59

© 2022 - 2024 — McMap. All rights reserved.