Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7D6711060A for ; Wed, 7 Aug 2013 20:47:03 +0000 (UTC) Received: (qmail 93634 invoked by uid 500); 7 Aug 2013 20:47:03 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 93606 invoked by uid 500); 7 Aug 2013 20:47:03 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 93565 invoked by uid 99); 7 Aug 2013 20:47:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Aug 2013 20:47:03 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of paul.n.gale@gmail.com designates 209.85.219.46 as permitted sender) Received: from [209.85.219.46] (HELO mail-oa0-f46.google.com) (209.85.219.46) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Aug 2013 20:46:58 +0000 Received: by mail-oa0-f46.google.com with SMTP id l10so4237059oag.19 for ; Wed, 07 Aug 2013 13:46:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=tkEFHEvnTE3qdbJq7CYmvqr/IcPQ6RBCXCN89sdXHJk=; b=szABrJs9jLiUNvnaf6nFFwZThn01/q2hMrh8L2iOv4JJt/nmxPprFiExRbW6SdLL7u lNviCMjY7rNPhj2szEvh7a48wyaB0pTN7viFAW96JKD4Jk/9N9Q40i45kOGNVDhQ3gjR f4N/8dxOExEgUHIFvBH2RSk20AkbQ8mkCEdDCnulvrCKINStqAebuPr6HVSIgk6xXV+B kap/D8LYV+h3a2qiw5fotht/C1eS4Bstln/nO/WEKKXGkM54pJftNQnuIajE/ZJHkjWG +iiDh1+/IZSbHbDgPJi4cQIgJXWp+G1tJv7PqB0dci4V7hifO1Peo5H9w/Y1+xom8ct1 N3MA== X-Received: by 10.182.18.40 with SMTP id t8mr4027654obd.85.1375908398098; Wed, 07 Aug 2013 13:46:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.60.38.10 with HTTP; Wed, 7 Aug 2013 13:46:08 -0700 (PDT) In-Reply-To: References: From: Paul Gale Date: Wed, 7 Aug 2013 16:46:08 -0400 Message-ID: Subject: Re: STOMP heart beat 'tolerance' To: users@activemq.apache.org Content-Type: multipart/alternative; boundary=001a11c3004c4ffbe104e361a35c X-Virus-Checked: Checked by ClamAV on apache.org --001a11c3004c4ffbe104e361a35c Content-Type: text/plain; charset=UTF-8 AMQ-4674 has been created On Wed, Aug 7, 2013 at 4:24 PM, Christian Posta wrote: > Good question. > Doesn't look like ActiveMQ 5.x has a grace period for the heart-beat. > Apollo has 1.5x grace period. Can you open a JIRA and we can get that into > ActiveMQ 5.x as well? > > > On Wed, Aug 7, 2013 at 12:50 PM, Paul Gale wrote: > > > Hi, > > > > Regarding the configuration of heart beating the STOMP protocol spec > > states: > > > > "- because of timing inaccuracies, the receiver SHOULD be tolerant > and > > take into account an error margin" > > > > How 'tolerant' does ActiveMQ determine it will be when calculating its > > 'error margin' regarding the arrival of late heat beats? > > > > For the sake of argument assume that heart beats (ignoring other values) > > are configured as follows: > > > > CONNECT > > > > heart-beat:5000,0 > > > > CONNECTED: > > heart-beat:0,5000 > > > > Thanks, > > Paul > > > > > > -- > *Christian Posta* > http://www.christianposta.com/blog > twitter: @christianposta > --001a11c3004c4ffbe104e361a35c--