From dev-return-20596-apmail-activemq-dev-archive=activemq.apache.org@activemq.apache.org Wed Jun 09 07:39:23 2010 Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 71190 invoked from network); 9 Jun 2010 07:39:22 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Jun 2010 07:39:22 -0000 Received: (qmail 12701 invoked by uid 500); 9 Jun 2010 07:39:22 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 12476 invoked by uid 500); 9 Jun 2010 07:39:21 -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 12457 invoked by uid 99); 9 Jun 2010 07:39:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jun 2010 07:39: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; Wed, 09 Jun 2010 07:39:17 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o597cuBr011001 for ; Wed, 9 Jun 2010 07:38:56 GMT Message-ID: <6752982.11591276069136516.JavaMail.jira@thor> Date: Wed, 9 Jun 2010 03:38:56 -0400 (EDT) From: "Akos Baraz (JIRA)" To: dev@activemq.apache.org Subject: [jira] Commented: (AMQ-2663) Failed durable subscription re-activation when keepDurableSubsActive=false In-Reply-To: <414213220.22621269423106377.JavaMail.jira@brutus.apache.org> 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/AMQ-2663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59996#action_59996 ] Akos Baraz commented on AMQ-2663: --------------------------------- Granted. Thanks! > Failed durable subscription re-activation when keepDurableSubsActive=false > -------------------------------------------------------------------------- > > Key: AMQ-2663 > URL: https://issues.apache.org/activemq/browse/AMQ-2663 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.3.1 > Reporter: Akos Baraz > Assignee: Dejan Bosanac > Attachments: DurableSubscriptionReactivationTest.java > > > If i set keepDurableSubsActive=false then i won't get the messages after re(!)-activation. I've figured out that the DurableTopicSubscription.deactivate() invokes StoreDurableSubscriberCursor.remove() what is removes the TopicStorePrefetch from the topic. Up to this point everyting is fine. But when the durable subscription becomes active the StoreDurableSubscriberCursor.add won't be called. So DurableTopicSubscription.activate() does not put the cursor back. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.