Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 29515 invoked from network); 17 Jun 2009 08:12:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Jun 2009 08:12:48 -0000 Received: (qmail 98239 invoked by uid 500); 17 Jun 2009 08:12:58 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 98200 invoked by uid 500); 17 Jun 2009 08:12:58 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 98190 invoked by uid 99); 17 Jun 2009 08:12:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 08:12:58 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 08:12:56 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 55ED1234C04B for ; Wed, 17 Jun 2009 01:12:35 -0700 (PDT) Message-ID: <1924002400.1245226355350.JavaMail.jira@brutus> Date: Wed, 17 Jun 2009 01:12:35 -0700 (PDT) From: "Daniel Donoso (JIRA)" To: dev@activemq.apache.org Subject: [jira] Issue Comment Edited: (AMQCPP-246) Failover transport doesn't detect network failures In-Reply-To: <1687671577.1244704775303.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQCPP-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52303#action_52303 ] Daniel Donoso edited comment on AMQCPP-246 at 6/17/09 1:11 AM: --------------------------------------------------------------- I added the soKeepAlive=true option to tcp transport but the result is the same, the consumer never receives any message after network restauration. I made a JMS Consummer to test (running on CMS Consumer's PC) and it detects the network failure. When the network is restaured it reconnects to the broker. was (Author: dongabda): I added the soKeepAlive=true option to tcp transport but the result is the same, the consumer never receives any message after network restauration. I made a JMS Consummer to test (running on CMS Consumer's PC) and it detects the network failure. When the network is restaured it reconnects with the broker. > Failover transport doesn't detect network failures > -------------------------------------------------- > > Key: AMQCPP-246 > URL: https://issues.apache.org/activemq/browse/AMQCPP-246 > Project: ActiveMQ C++ Client > Issue Type: Bug > Components: CMS Impl > Affects Versions: 3.0 > Environment: CMS Consumer running under Linux (Fedora Core 10) > Broker and JMS producer running under Linux (Redhat 7) > Reporter: Daniel Donoso > Assignee: Timothy Bish > Fix For: 3.0.1 > > Attachments: SimpleAsyncConsumer.cpp > > > I tested the CMS SimpleAsyncConsumer example to check the failover transport funcionality and it doesn't detect the network failures, and after network restauration the consumer never receives any message. > These are the steps: > 1. The network has a failure. > 2. The Producer sends a message. > 3. After a minute the network is up. (The consumer doesn't detect the failure) > 4. The consumer doesn't receive the message. > 5. The producer sends other message. > 6. The consumer never receives old and new messages -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.