Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 48981 invoked from network); 10 Feb 2011 19:50:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Feb 2011 19:50:39 -0000 Received: (qmail 45119 invoked by uid 500); 10 Feb 2011 19:50:38 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 44973 invoked by uid 500); 10 Feb 2011 19:50:38 -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 44965 invoked by uid 99); 10 Feb 2011 19:50:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Feb 2011 19:50:37 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tabish@fusesource.com designates 74.125.245.78 as permitted sender) Received: from [74.125.245.78] (HELO na3sys010aog105.obsmtp.com) (74.125.245.78) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Feb 2011 19:50:29 +0000 Received: from source ([209.85.220.174]) (using TLSv1) by na3sys010aob105.postini.com ([74.125.244.12]) with SMTP ID DSNKTVRBcAJv/rm/ZnA/r1uj3tViVFPO5++O@postini.com; Thu, 10 Feb 2011 11:50:09 PST Received: by mail-vx0-f174.google.com with SMTP id 37so979099vxb.5 for ; Thu, 10 Feb 2011 11:50:08 -0800 (PST) Received: by 10.220.81.5 with SMTP id v5mr6023299vck.74.1297367408024; Thu, 10 Feb 2011 11:50:08 -0800 (PST) Received: from [192.168.2.150] (c-69-143-50-138.hsd1.va.comcast.net [69.143.50.138]) by mx.google.com with ESMTPS id c8sm199895vcc.33.2011.02.10.11.50.07 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 10 Feb 2011 11:50:07 -0800 (PST) Subject: Re: ACTIVEMQ-CPP. Connection with broker lost? connection interrupt lost? From: Timothy Bish Reply-To: tim.bish@fusesource.com To: users@activemq.apache.org In-Reply-To: References: <1297355761.2743.2.camel@office> Content-Type: text/plain; charset="UTF-8" Organization: FuseSource Date: Thu, 10 Feb 2011 14:50:05 -0500 Message-ID: <1297367405.2743.8.camel@office> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 (2.32.1-1.fc14) Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Thu, 2011-02-10 at 19:41 +0100, Oscar Pernas wrote: > Activemq-cpp 3.2.4 > Debian (and tested in windows xp too) > gcc version 4.4.4 (Debian 4.4.4-1) > > This problem only happens if while the consumer is consuming messages, if > consumer is waiting for new messages, transportInterrupt is received ok... > If I have two consumer of one topic, sometimes one consumer reconnects and > the other one not, and viceversa... Can you elaborate a bit on what you mean here, is the consumer operating in synchronous or asynchronous consumer mode? What do you mean by the consumer not reconnecting, are you seeing consumers that don't receive any new messages once you restart the broker or what? -- Tim Bish ------------ FuseSource Email: tim.bish@fusesource.com Web: http://fusesource.com Twitter: tabish121 Blog: http://timbish.blogspot.com/