Client uses "heart-beat:0,0" - server answers with "heart-beat:100,1000"

191 views
Skip to first unread message

mjustin

unread,
Mar 14, 2014, 4:44:05 AM3/14/14
to stomp...@googlegroups.com
Hello,

the current version 1.6 of the Apollo answers with an unexpected heart-beat header in the CONNECTED frame.
Is this in compliance with the specification?

CONNECT
login:admin
passcode:password
accept-version:1.2
heart-beat:0,0
host:localhost


received:
CONNECTED
version:1.2
server:apache-apollo/1.6
host-id:mybroker
session:mybroker-2925
heart-beat:100,10000
user-id:admin

gmallard

unread,
Mar 14, 2014, 8:19:19 AM3/14/14
to stomp...@googlegroups.com
Sure it is.

Apollo is just saying to the client I will/can do 100,1000.

Your client sent 0,0 so the final result is no heartbeats of any kind.

Actual heartbeats are negotiated by both client and server.  See:

http://stomp.github.io/stomp-specification-1.2.html#Heart-beating

for details on how the negotiation is handled.
Reply all
Reply to author
Forward
0 new messages