All Questions
Tagged with spring-websocket jetty
15
questions
1
vote
0
answers
390
views
How to integrate stomp/websockets using spring boot messaging with Jetty 10?
Some backstory:
I am working on a spring boot application which uses the spring-boot-starter-websocket library to update a frontend client with messages using STOMP.
The setup is as per spring docs - ...
0
votes
2
answers
912
views
How to check TCP buffer size in Spring Websocket(Jetty)?
How will websocket works when websocket client is too slow?
The above link is the problem I want to solve. My server will push a lot of data to client. So it is possible that client side consumes too ...
3
votes
2
answers
15k
views
Async support must be enabled on a servlet and for all filters involved in async request processing
I read enough questions with answers on stackoverflow and no one helped me.
I tried to insert
<async-supported> true</async-supported>
everywhere but it doesn't help me, I also tried to ...
1
vote
2
answers
1k
views
Custom Jetty WebSocketPolicy with Spring Web Sockets and STOMP
I would like to customize the Jetty WebSocketPolicy when using Spring Web Sockets with STOMP.
Here is my config class:
@Configuration
@EnableWebSocketMessageBroker
public class WebSocketConfig ...
0
votes
1
answer
592
views
Java Spring MVC + Jetty Websocket Incompatible Method Signatures
I am trying to implement's Spring's integration of websockets with Jetty. In the Spring docs it says that if we are using Jetty, we need to
"supply a pre-configured Jetty WebSocketServerFactory ...
1
vote
0
answers
1k
views
Switch Spring-Websocket to use compression
I am trying to enable Websocket-level compression. I have WebSocket configuration as shown below. I use "extends WebSocketMessageBrokerConfigurationSupport" approach.
I incorporated the recipe from ...
6
votes
1
answer
8k
views
Spring Websocket Configuration: using WebSocketMessageBrokerConfigurationSupport and WebSocketConfigurer together - how?
I am configuring currently my Spring Websocket using the class
public class WebSocketConfig extends WebSocketMessageBrokerConfigurationSupport
now I came across the advice Spring STOMP Websockets:...
2
votes
1
answer
2k
views
Make WebSocket sending non-blocking
Jetty uses org.eclipse.jetty.websocket.common.BlockingWriteCallback to send messages over websocket. If the client is "slow" then this blocking write may experience hangs (see e.g. here https://github....
2
votes
1
answer
928
views
Using PERMESSAGE_DEFLATE causing native memory leak in JETTY9.3.11
We are using jetty version 9.3.11 Version jetty container for deploying our application
we are using tyrus client for connecting client to websocket server that we have deployed.
when i connect ...
1
vote
0
answers
1k
views
Spring web-socket incompatible with jetty9.3
we are using spring websockets in our application..
Maven dependency:
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-websocket</artifactId>
<...
0
votes
2
answers
2k
views
Adding web socket support to an existing Spring application
I'm working with a Spring 4 application (not Spring Boot, unfortunately) and I'm unable to get web sockets to work. There's a simple TextWebSocketHandler implementation that I register at /ws path, ...
0
votes
0
answers
2k
views
jetty-9 all the threads in TIMED_WAITING(parking) state
I have an application which which is deployed on jetty server.
Jetty standalone server has default configuration.Application contains spring based websocket.
Clients connect to the server using web-...
2
votes
1
answer
2k
views
What are other WebsocketClient implementations in Spring?
I have a Spring application which is connecting to the websocket endpoint. For this I use Spring StandardWebSocketClient class.
WebSocketClient transport = new StandardWebSocketClient();
...
1
vote
1
answer
2k
views
Jetty websocket client connect to Stomp.js topic channel
I have written a Spring Websocket server which is assessible from a browser via Stomp.js. I am now attempting to implement a Java client in order to connect my server to a secondary system. I am able ...
0
votes
1
answer
2k
views
Spring 4 Websockets java.lang.NoClassDefFoundError
I'm new to spring websocket and following this tutorial.enter link description here. But I'm getting always this exception when running on jetty.
Exeception.
2014-11-20 17:56:51.978::WARN: Nested ...