[rabbitmq-discuss] 回复: 回复: Notimeout and sockets notclosed forStomp

zane 37714275 at qq.com
Mon Jun 30 07:39:46 BST 2014

thanks lot.
In the feature,  will RabbitMQ stomp can ‍configure default server heartbeat?‍
you know stomp 1.0 can't ‍configure ‍heartbeat. thanks lot.‍

------------------ 原始邮件 ------------------
发件人: "Michael Klishin";<mklishin at gopivotal.com>;
发送时间: 2014年6月30日(星期一) 下午2:34
收件人: "zane"<37714275 at qq.com>; "rabbitmq-discuss"<rabbitmq-discuss at lists.rabbitmq.com>; 

主题: Re:回复: [rabbitmq-discuss]回复:  Notimeout and sockets notclosed forStomp

On 30 June 2014 at 10:27:34, zane (37714275 at qq.com) wrote:
> > I think we start heartbeat. this is rabbitmq.config
> {rabbitmq_stomp,[
> {tcp_listeners, [61613]},
> {heartbeat,200}
> ]}

Heartbeats in STOMP are bi-directional and are specified by clients on connection
using the "heart-beat" header.

RabbitMQ assumes 0,0 (no heartbeats) by default. Currently there is no way
to configure default server heartbeat. Perhaps there should be but
you want to configure *client* heartbeats, too .

See http://stomp.github.io/stomp-specification-1.2.html#Heart-beating
and your STOMP client documentation. A good default is 10-20 seconds, symmetric,
e.g. "15,15".

Staff Software Engineer, Pivotal/RabbitMQ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140630/0c6ac5db/attachment.html>

More information about the rabbitmq-discuss mailing list