Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 12151 invoked from network); 13 Sep 2010 18:33:21 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Sep 2010 18:33:21 -0000 Received: (qmail 95092 invoked by uid 500); 13 Sep 2010 18:33:21 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 95040 invoked by uid 500); 13 Sep 2010 18:33:20 -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 95031 invoked by uid 99); 13 Sep 2010 18:33:20 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Sep 2010 18:33:20 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Sep 2010 18:33:03 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8DIWfrb002100 for ; Mon, 13 Sep 2010 18:32:41 GMT Message-ID: <30049926.15091284402761668.JavaMail.jira@thor> Date: Mon, 13 Sep 2010 14:32:41 -0400 (EDT) From: "Helen Huang (JIRA)" To: dev@activemq.apache.org Subject: [jira] Commented: (AMQCPP-316) Unable to receive any messages after re-starting message broker In-Reply-To: <25218934.14921284393820368.JavaMail.jira@thor> 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-316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61791#action_61791 ] Helen Huang commented on AMQCPP-316: ------------------------------------ Thanks for the tip. I changed the MessageListener to use the failover transport and it worked: "failover://(tcp://127.0.0.1:61616)" I am not sure why the MessageSender can re-connect with "tcp://127.0.0.1:61616?keepAlive=true&wireFormat.maxInactivityDuration=0". I am wondering if this is expected. Thanks! > Unable to receive any messages after re-starting message broker > --------------------------------------------------------------- > > Key: AMQCPP-316 > URL: https://issues.apache.org/activemq/browse/AMQCPP-316 > Project: ActiveMQ C++ Client > Issue Type: Bug > Components: CMS Impl > Affects Versions: 3.2.2 > Environment: Windows xp service pack 3, ActiveMQ broker 5.3.1, apr 1.4.2, apr-util 1.3.9, apr iconv 1.2.1 > Reporter: Helen Huang > Assignee: Timothy Bish > Priority: Critical > Fix For: 3.2.3 > > Attachments: ReconnectionTest.zip > > > We developed two applications that use CmsTemplate to send and receive messages. The sender application is called MessageSender, and the receiver application is called MessageListener. We found that the MessageListener is unable to receive any messages after we re-start the message broker. > The followings are the steps to recreate the problem: > (1) start the activemq message broker, > (2) start MessageListener and MessageSender, and observe that messages are being sent and received successfully. > (3) stop the message broker without stopping MessageListener and MessageSender. Wait for a while (for about a minute or two) > (4) start the message broker again. > We expect we can send and receive messages successfully after step (4), but the MessageListener can never receive any messages any more. Also from the activemq admin page, we find that the consumer of the topic is gone. We did the test with url "?keepAlive=true&wireFormat.maxInactivityDuration=0", but it did not work. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.