Skip to main content

All Questions

0 votes
0 answers
19 views

How to handle and replace message from SubProtocolWebSocketHandler in Spring Stomp Web Socket

I am using WebClientSocket library from Arduino and connect with Spring Boot Web Socket. The issue occur when command send from microcontroller to web server socket. STOMP command has end of string ...
Mobile Dev's user avatar
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 - ...
Jenny A-T's user avatar
0 votes
0 answers
30 views

how can the server detect internet failure at client side using stomp

I'm using Spring Messaging v 5.3.21 for WebSocket. I have following interceptor to validate each request. @Override public Message<?> preSend(Message<?> message, MessageChannel channel) { ...
Ammar Zafar's user avatar
0 votes
1 answer
302 views

What happens to undelivered messages in Spring Simple Message Broker

I am using spring-messaging and spring-websocket modules to transmit messages between client and server over websockets. At the moment, I am using the "Simple Message Broker" that comes in-...
dinika saxena's user avatar
0 votes
1 answer
332 views

How to distinguish destinations in Spring Messaging for the socket exchange

Implementation of the WebSocketMessageBrokerConfigurer must implement two methods. configureMessageBroker is one of them: public void configureMessageBroker(MessageBrokerRegistry registry) { ...
Andrey M. Stepanov's user avatar
1 vote
1 answer
2k views

Spring STOMP configure mutual authentication wss/ssl

Is possible configure mutual authentication wss in Stomp client/server in spring boot with jetty server? I have tried this with no success. in client code i try to set SSLContext with user properties ...
Furetto's user avatar
  • 359
1 vote
0 answers
253 views

Custom spring websocket security with rabbitmq

I'm working with websocket to push notification using rabbitmq like a message broker. In controller i using SimpMessageTemplate to convertAndSendToUser a message via the nick name of user @PostMapping(...
NTNT O'Klein's user avatar
2 votes
0 answers
660 views

Is there any way to expire spring websocket connections after a certain time?

We are using JWT token to authenticate the WebSocket Connect request by intercepting it in ChannelInterceptor. But I could not find any way to specify the duration after which the WebSocket connection ...
Abhinav Jain's user avatar
0 votes
0 answers
1k views

How to send websocket message to a specific subscription in a session?

I have implemented a WebSocket server using Spring WebSocket and STOMP. There are multiple subscriptions over a single session and I want to send message to a specific subscription only. Steps to ...
kulsin's user avatar
  • 428
5 votes
1 answer
351 views

Change websocket scope (from application to session/view)

I created a basic web socket with a tutorial. Here is a configuration: @Configuration @EnableWebSocketMessageBroker public class WebSocketConfig extends AbstractWebSocketMessageBrokerConfigurer { ...
degath's user avatar
  • 1,601
1 vote
1 answer
297 views

Direct user message doesn't work with Spring Websocket

I am trying send direct messages to user. Application hasn't done authentication so there is temporary solution for creating websocket session users as you can see in added code. @Configuration @...
Denis Stephanov's user avatar
0 votes
1 answer
1k views

Occasional NullPointerException when publishing STOMP message using SpringFramework

I am running into some occasional NPE when publishing STOMP messages using Spring (5.2.0). Unfortunately I cannot precisely provide the steps to reproduce but I was hoping to get some insight into how ...
Obi-Wan-Clemobi's user avatar
3 votes
0 answers
173 views

Login Redirect goes to STOMP endpoint

I have a relatively simple setup where I am using stomp over websockets to retrieve data from my backend to avoid resetting the session timeout. I am running into an issue that mostly happens when I ...
Deadron's user avatar
  • 5,249
3 votes
1 answer
3k views

Stomp broker with Redis as full featured message broker

Is there a way to connect redis as a full featured stompbroker? As per redis documentation, we can use redis as message broker. we are planning to use redis as a message broker for our chat product. ...
Dhanavenkatesh's user avatar
1 vote
1 answer
2k views

To build spring integration channel as spring websocket doesn't support messaging for non-stomp client

As we are not using stomp for our websocket server, spring doesn't offer message broker framework. My vision is to use spring messaging pub/sub with Redis message store for dev and migrate message ...
Dhanavenkatesh's user avatar

15 30 50 per page
1
2 3 4 5 6