rstoyanchev / spring-websocket-portfolio

740 stars 443 forks source link

Stomp connection closess on inactivity while data is sent constantly. #72

Open vmax1145 opened 8 years ago

vmax1145 commented 8 years ago

On client side I use stomp over websocket client which sends data each 1 sec to application endpoint (not to any queue). Client also is subscribed to topic but messages are sent to this topic very rare . On server side I use stomp full broker to artimis remote server. As I can investigate if client constanly sends data to app endpoint it do not send heartbeats. If return type of endpoint is void then no data (and no heartbeats) propagated to underlaying artemis connection. In this case connection is closed by inactivity.