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 58AB5104FA for ; Wed, 5 Mar 2014 23:08:17 +0000 (UTC) Received: (qmail 20018 invoked by uid 500); 5 Mar 2014 23:08:16 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 19942 invoked by uid 500); 5 Mar 2014 23:08:16 -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 19932 invoked by uid 99); 5 Mar 2014 23:08:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Mar 2014 23:08:16 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of petersones@ldschurch.org designates 216.49.179.94 as permitted sender) Received: from [216.49.179.94] (HELO mail4.gmhwh.org) (216.49.179.94) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Mar 2014 23:08:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ldschurch.org; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=nov2012; bh=/3UfwABZrXqUxv/mSHUAXyv9ydWgBCqMjhPtGtvlQiY=; b=FIpU3foa6Kbf17kuLkF8FgEHPNiVi1ghnA6h/imyaRut3EMWO42tKdm+rUUJRAEGLGS2 TwEqfP9Huk6NlqI5dQIhJvHOMHE9ZYkH/0b+AaQPLQqGj0dRCWwtaalwRuo742JzcNNW LzWF30pubFOS2UDtGzAfxjQ3zTyEYzrMcUfPrAsB1lE++T7XCxzGe49kDtbzLM4DwSIf NJHmlG09q5T99o61co7fQsXTehI26VrrxJEPjxtBJTDU1JUKUa1HWpGNJcgCnhzP8I5+ EdTMrX1ICNAZ/WIa6ORpGv71OIINKix/nbkF7EX0sLnJuefFKc6nOSJun2omwvycIrec 5w== Received: from W1186.ldschurch.org (W1186.ldschurch.org [10.57.1.86]) by mail4.gmhwh.org (8.14.5/8.14.5) with ESMTP id s25N7o6x009908 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Wed, 5 Mar 2014 16:07:51 -0700 Received: from W12112.ldschurch.org ([169.254.13.95]) by W1186.ldschurch.org ([10.57.1.86]) with mapi id 14.03.0174.001; Wed, 5 Mar 2014 16:07:50 -0700 From: "Erik S. Peterson" To: "users@activemq.apache.org" Subject: Re: ActiveMQ perl consumer ideal timeout Thread-Topic: ActiveMQ perl consumer ideal timeout Thread-Index: AQHPOFHrd6LaIC0ogk+sZnwSe6NEJZrTlCuA Date: Wed, 5 Mar 2014 23:07:49 +0000 Message-ID: References: <1394010198235-4678538.post@n4.nabble.com> In-Reply-To: <1394010198235-4678538.post@n4.nabble.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.98.250.245] Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Disclaimer: True X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.11.87,1.0.14,0.0.0000 definitions=2014-03-05_06:2014-03-05,2014-03-05,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 kscore.is_bulkscore=5.12923037376822e-14 kscore.compositescore=0 circleOfTrustscore=361.152 compositescore=0.00155505706781852 urlsuspect_oldscore=0.0155505706781852 suspectscore=0 recipient_domain_to_sender_totalscore=0 phishscore=0 bulkscore=0 kscore.is_spamscore=0 recipient_to_sender_totalscore=0 recipient_domain_to_sender_domain_totalscore=45144 rbsscore=0.00155505706781852 spamscore=0 recipient_to_sender_domain_totalscore=0 urlsuspectscore=0.3 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1305240000 definitions=main-1403050123 X-Virus-Checked: Checked by ClamAV on apache.org Sorry to hijack this thread, but after several attempts, unsubscribe from t= his list continues to fail. Please unsubscribe my email from this list. On Mar 5, 2014, at 2:03 AM, khandelwalanuj wr= ote: > Hi, >=20 > I am using Net::STOMP:CLIENT perl module and trying to connect my consumer > to the broker. When Consumer remains ideal for 15 seconds, broker > disconnects my consumer. Why so ?=20 > Is there an idealtime after which I need to send messages from my perl > client to keep the connection alive. >=20 > I am using=20 > *$frame =3D $self->SUPER::wait_for_frames();* >=20 > I also tried with > $frame =3D $self->SUPER::wait_for_frames(timeout =3D> 30); >=20 > But it disconnects after 15 seconds. >=20 > But when I use=20 > $frame =3D $self->SUPER::wait_for_frames(timeout =3D> 5); > I am able to keep alive my connections. >=20 >=20 >=20 > Thanks, > Anuj >=20 >=20 >=20 > -- > View this message in context: https://urldefense.proofpoint.com/v1/url?u= =3Dhttp://activemq.2283324.n4.nabble.com/ActiveMQ-perl-consumer-ideal-timeo= ut-tp4678538.html&k=3DwlPCrglRP6kzT4RbABWMaw%3D%3D%0A&r=3DBNcu0LfT1bojlTvn%= 2Bonyd8NiumDMDaY101M3AeCHhDo%3D%0A&m=3DNA%2FLYUYJDc6718xxrxKwS3E1%2FzATQMSI= rIBDg2crTt0%3D%0A&s=3Df1d91c83789161169f839ba65f6c3af1f4a5020a96f439a2e938d= 4adba63ffa2 > Sent from the ActiveMQ - User mailing list archive at Nabble.com. NOTICE: This email message is for the sole use of the intended recipient(s= ) and may contain confidential and privileged information. Any unauthorized= review, use, disclosure or distribution is prohibited. If you are not the = intended recipient, please contact the sender by reply email and destroy al= l copies of the original message.