How can I apply heartbeat on stomp?

69 views
Skip to first unread message

Peter Ko

unread,
Sep 13, 2018, 2:03:45 AM9/13/18
to rabbitmq-users
I'm running "rabbitmq-server-3.7.7" and "erlang 21.0" on "CentOS Linux release 7.5".
I'm using AMQP(tcp 5671) and STOMP(tcp 61613) on rabbitmq. 

I read this document(http://www.rabbitmq.com/heartbeats.html) and I want to use heartbeats for detecting dead TCP connections.
I checked that I could apply "heartbeat = 60" in rabbitmq.conf 
Is this config applied to AMQP only? If so, How can I apply heartbeat on stomp as well? 

Luke Bakken

unread,
Sep 13, 2018, 4:34:03 PM9/13/18
to rabbitmq-users
Have you tried to enable heartbeats in your STOMP client?


Thanks,
Luke
Reply all
Reply to author
Forward
0 new messages