Questions tagged [spring-websocket]

A Spring Framework module that support WebSocket-style messaging in web applications (native websocket and with SockJS support), including use of STOMP as an application level WebSocket sub-protocol.

This implementation supports the websocket protocol (RFC6455) and the Java websocket API (JSR-356), with fallback options using SockJS.

See:

1417 questions
-1
votes
1 answer

Angular: RxStomp .Watch .Subsribe Method

I can't figure out how to use the watch method in RxStomp. subscribeToOtherAccount(otherAccount): string { const channelId = ChannelService.createChannel(this.username, otherAccount.username); this.rxStompService.watch('/channel/chat/' +…
Tinus
  • 19
  • 6
-1
votes
1 answer

access websocket from a desktop application

I have a project with spring-websocket with this setup: SocketHandler.java @Component public class SocketHandler extends TextWebSocketHandler { List sessions = new CopyOnWriteArrayList<>(); @Override public void…
Kleber Mota
  • 8,521
  • 31
  • 94
  • 188
-1
votes
1 answer

rabbit-mq Queue not auto-deleted after consumers zero

I set option autoDelete as true for a queue, but sometime even if consumer is 0, the queue still exist How can I find the reason? and how to delete? thanks
kumar
  • 497
  • 4
  • 12
-1
votes
2 answers

can i connect client server(localhost:8082) and websocket(localhost:8080)?

My problem is I need to connect different port or server! websocket server(localhost:8080) client server(localhost:random) (failed: Error during WebSocket handshake: Unexpected response code: 403) why?? I'm tired... I already tried same port and I…
David Jeong
  • 109
  • 1
  • 8
-1
votes
1 answer

Is it possible to design a system which will communicate with other system via socket communication as well as restful webservice

I would like to know if we can design a system which will communicate to other system via restful web service as well as via socket communication? Actually my requirement is that some messages in the form of xml or json will come as input to the…
Swarup Saha
  • 895
  • 2
  • 11
  • 23
-1
votes
1 answer

Spring security and angular js ajax login

I am try to implement ajax login procedure to angular app. But the problem is that I don't understand how to do it with ajax way. I need to authenticate user and use his username as the header of websocket connections on clientside (I use STOMP…
jahra
  • 1,173
  • 1
  • 16
  • 41
-3
votes
1 answer

Spring boot websocket notification flakiness

I am using Spring Boot WebSocket notification and Stomp client library in Angular to connect and subscribe to WebSocket. However, sometimes I get the notification on the UI screen and sometimes I do not get the notification. There is flakiness in…
Arpit Asati
  • 130
  • 2
  • 16
1 2 3
94
95