<div>thanks lot.</div><div>In the feature,  will <span style="line-height: 1.5;">RabbitMQ stomp can <span id="_editor_bookmark_start_8" style="display: none; line-height: 0px;">‍</span></span><span style="line-height: 1.5;">configure default server heartbeat?<span id="_editor_bookmark_start_9" style="display: none; line-height: 0px;">‍</span></span></div><div><span style="line-height: 1.5;">you know </span><span style="line-height: 1.5;">stomp 1.0 can't <span id="_editor_bookmark_start_10" style="display: none; line-height: 0px;">‍</span></span><span style="line-height: 1.5;">configure <span id="_editor_bookmark_start_11" style="display: none; line-height: 0px;">‍</span></span><span style="line-height: 1.5;">heartbeat. thanks lot.<span id="_editor_bookmark_start_12" style="display: none; line-height: 0px;">‍</span></span></div><div><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ 原始邮件 ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>发件人:</b> "Michael Klishin";<mklishin@gopivotal.com>;</div><div><b>发送时间:</b> 2014年6月30日(星期一) 下午2:34</div><div><b>收件人:</b> "zane"<37714275@qq.com>; "rabbitmq-discuss"<rabbitmq-discuss@lists.rabbitmq.com>; <wbr></div><div></div><div><b>主题:</b> Re:回复: [rabbitmq-discuss]回复:  Notimeout and sockets notclosed forStomp</div></div><div><br></div>On 30 June 2014 at 10:27:34, zane (37714275@qq.com) wrote:<br>> > I think we start heartbeat. this is rabbitmq.config<br>> {rabbitmq_stomp,[<br>> {tcp_listeners, [61613]},<br>> {heartbeat,200}<br>> ]}<br><br>Heartbeats in STOMP are bi-directional and are specified by clients on connection<br>using the "heart-beat" header.<br><br>RabbitMQ assumes 0,0 (no heartbeats) by default. Currently there is no way<br>to configure default server heartbeat. Perhaps there should be but<br>you want to configure *client* heartbeats, too .<br><br>See http://stomp.github.io/stomp-specification-1.2.html#Heart-beating<br>and your STOMP client documentation. A good default is 10-20 seconds, symmetric,<br>e.g. "15,15".<br>--  <br>MK  <br><br>Staff Software Engineer, Pivotal/RabbitMQ<br></div>