Skip to main content

All 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(); ...
rcirne's user avatar
  • 23
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 ...
pjsagar's user avatar
  • 261
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 ...
pjsagar's user avatar
  • 261
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(...
pjsagar's user avatar
  • 261
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 ...
khaler's user avatar
  • 31
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
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 ...
ioreskovic's user avatar
  • 5,659
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 ...
Devas's user avatar
  • 1,654
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 ? ...
Devas's user avatar
  • 1,654
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 ...
Kamil Nękanowicz's user avatar
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/...
David Jeong's user avatar
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 ...
Dhiraj's user avatar
  • 1
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 ...
user3600073's user avatar
  • 1,883
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 ...
Michael Hegner's user avatar
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 ...
Emmet's user avatar
  • 21

15 30 50 per page