All Questions
Tagged with spring-websocket spring-integration
28
questions
1
vote
1
answer
97
views
Detect Websocket disconnection in Spring Integration
I have an Integration flow based on a WebSocketInboundChannelAdapter, configured as below.
@Bean
IntegrationFlow integrationFlow() {
StandardWebSocketClient client = new StandardWebSocketClient();
...
1
vote
1
answer
665
views
Registration of dynamic websocket at application initialization time and at runtime has different endpoints exposed
I am trying to register websocket dynamically.For instance, i have registered '/sampleEndpoint' at runtime so ServerWebSocketContainer will register it and start publishing data on that endpoint. But ...
1
vote
1
answer
355
views
Dynamic registration of websocket output adapter is not working
I am trying to implement dynamic registration of ServerWebSocketContainer so that i can publish messages to different websocket endpoints at runtime.
Here is server side code
@Service
public class ...
1
vote
1
answer
243
views
spring integration to register dynamic ServerWebSocketContainer paths so different integration flows can be created with different paths
@Component
public class WebSocketRegistration {
@Autowired
GenericWebApplicationContext context;
@Autowired
private IntegrationFlowContext flowContext;
public String registerServerEndpoint(...
3
votes
0
answers
858
views
WebSocket Using Spring Integration
I would like to try using Spring Integration Websocket by having a client and server communication. A REST call POST will be sent to the server side which will publish this String name message to the ...
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 ...
2
votes
2
answers
1k
views
Spring Integration and Reactive WebSockets
Spring integration offers non-reactive inbound/outbound WebSocket adapters which, simply put, associate session with id via internal container, you do some processing on message, and on outbound, it ...
2
votes
2
answers
805
views
How to create a custom source app for spring-cloud-stream-app-starters project
I want to create a web-socket source (for spring-cloud-stream-app-starters) which is currently not available on git hub.
I went through some of the available sources but had some confusions, may be ...
2
votes
1
answer
1k
views
Spring integration websocket throws " 'outputChannel' or 'outputChannelName' is required " Exception
I'm new to Spring integration framework.
While running the spring integration websocket sample code I'm getting
'outputChannel' or 'outputChannelName' is required exception.
Did I missed something ?
...
1
vote
1
answer
695
views
Spring integration SocketException:Connection reset
My server code: https://stackoverflow.com/a/41765722/3871754
My client code: https://alvinalexander.com/blog/post/java/simple-java-socket-client-class-program
When I run the client, I get on server ...
0
votes
1
answer
505
views
WebSocket In/OutBoundChannel 'clientSession' has not been established. Consider to 'start' this container
I'm using spring-integration-websocket for using stompSubProtocol.
My Sample code is 'https://github.com/spring-projects/spring-integration/tree/master/spring-integration-websocket/src/main/java/org/...
0
votes
1
answer
369
views
Spring boot + Spring Integration Websocket adapter + Tibco JMS Server
I am working to build an application (Server side) which should pick message from tibco jms queue and then post that to a url at which the Client (written in angular js) will listen, and also from ...
8
votes
3
answers
6k
views
Spring Websocket STOMP load testing
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 like ...
2
votes
1
answer
930
views
Push Messages to Websocket Outbount using Spring Integration
I am stucking on experiment with spring integration and web socket. I have to say, web sockets are really new to me, and maybe I didn`t understand few basics yet.
What I want to do. My backend are ...
2
votes
1
answer
280
views
ClientWebSocketContainer - can it be used on the client side to create a websocket connection?
The ClientWebSocketContainer Spring class can provide a websocket connection session to a remote endpoint. Though if an attempt is made to re-establish a closed connection (after a failed attempt) by ...