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 715EF102B2 for ; Wed, 15 Jan 2014 15:24:49 +0000 (UTC) Received: (qmail 99305 invoked by uid 500); 15 Jan 2014 15:24:48 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 99259 invoked by uid 500); 15 Jan 2014 15:24:48 -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 99251 invoked by uid 99); 15 Jan 2014 15:24:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jan 2014 15:24:48 +0000 X-ASF-Spam-Status: No, hits=0.9 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tabish121@gmail.com designates 209.85.216.176 as permitted sender) Received: from [209.85.216.176] (HELO mail-qc0-f176.google.com) (209.85.216.176) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jan 2014 15:24:42 +0000 Received: by mail-qc0-f176.google.com with SMTP id e16so1086038qcx.35 for ; Wed, 15 Jan 2014 07:24:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=VVAoktMzQQy5R3vOUdEK8U0VdZA9Kr/phPw31oLNNyA=; b=zBKcz6qhOFc/UV3rl0CUAeP2pAksq7Eq1FXVxt0ksWSErSBAqYem11YyfK41b468NJ gv593b51Kk21rfGYg/75XYpziQwZ4hEBzD2hZvGUtvPC38CSf+QXMd4ZlIuVO9KiMoIP CF0GDk5YsApAJIF2Ls/c64L1pNQ51wW4GXh9To7gypGwqyjwzDLrWMnKx1okUm0nUx8u JO+22Qf1KURqhp1M6wmh/NOXGpeoJAsRgQdAcC3EDLn9mWDuHh1Lv+5CGxpwTIgsndLo RreBvAWqdX3zDcTnncWRVH2b5Nu6A9q1mJj109nVp26CUbG1R2roaz64196jD+Bn7Z6A c2rg== X-Received: by 10.229.222.194 with SMTP id ih2mr5688036qcb.16.1389799461872; Wed, 15 Jan 2014 07:24:21 -0800 (PST) Received: from [192.168.2.191] (c-98-218-173-79.hsd1.va.comcast.net. [98.218.173.79]) by mx.google.com with ESMTPSA id gd14sm6981201qeb.12.2014.01.15.07.24.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 15 Jan 2014 07:24:21 -0800 (PST) Message-ID: <52D6A825.2050201@gmail.com> Date: Wed, 15 Jan 2014 10:24:21 -0500 From: Timothy Bish User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: users@activemq.apache.org Subject: Re: ActiveMQ InactivityMonitor for STOMP References: <1389785150442-4676302.post@n4.nabble.com> In-Reply-To: <1389785150442-4676302.post@n4.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 01/15/2014 06:25 AM, khandelwalanuj wrote: > Hi, > > I am understanding the usages of ActiveMQ InactivityMonitor. I have some > questions regarding this. > I have gone through > http://activemq.apache.org/activemq-inactivitymonitor.html > > > 1. Does Inactivity monitor is also works for STOMP (python/perl) clients ? > If yes than what is the difference between TCP and STOMP Inactivity monitor > ? > > 2. What is heartbeat for STOMP ( according to stomp specifications). Is it > related to Inactivity Monitor, what is the difference between both ? > > Thanks, > Anuj > > > > -- > View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-InactivityMonitor-for-STOMP-tp4676302.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > The inactivity monitor is used to provide the heart beating functionality of the given protocol. This is different than the TCP level keep alive and can be configured at the URI level. Both STOMP and the native OpenWire protocols specify a heart beat at the wire level and the Inactivity monitor is responsible for firing and tracking incoming heart beats and closing down the connection is the configured inactivity period is exceeded meaning the connection is most likely dead since no heart beats or other data has been seen. -- Tim Bish Sr Software Engineer | RedHat Inc. tim.bish@redhat.com | www.fusesource.com | www.redhat.com skype: tabish121 | twitter: @tabish121 blog: http://timbish.blogspot.com/