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 B586395AD for ; Mon, 12 Mar 2012 16:42:00 +0000 (UTC) Received: (qmail 69335 invoked by uid 500); 12 Mar 2012 16:42:00 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 69307 invoked by uid 500); 12 Mar 2012 16:42:00 -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 69298 invoked by uid 99); 12 Mar 2012 16:42:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Mar 2012 16:42:00 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gary.tully@gmail.com designates 209.85.161.43 as permitted sender) Received: from [209.85.161.43] (HELO mail-fa0-f43.google.com) (209.85.161.43) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Mar 2012 16:41:55 +0000 Received: by fanq24 with SMTP id q24so192820fan.2 for ; Mon, 12 Mar 2012 09:41:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=fyOUwU4Z0kbA09V7DZMqsTSW+169O6RWLYjqkO6gHYY=; b=dJbK1FNP23SJP0SAM5L0+YCJPzBmYB9mPssfN8PB35N8NTSArkGhdBCR1ukbWVGr7d 0EZXjHU2owHf3+wDainv7gLs3lMnmprfpucoVVNUmDJA2aqzkpLgjOJR+Fl3n36F7cak xY3Efq1NjMPVcYDudQLJa3jR2h1t+4grkIgE1GB6ZmGMWSrJ3hg+NhyrQI/+ZHC80j1b 5VJIjqE2S97jQ9nFJzzVncxFGDRz9TQXth6rnRiGkPlmABNAbrW6lEwIP+c0swWOX7jo Q4ZEajyz77rCB174qx8M8MlJj83eaHZyNQioG97um/muOnH0ScdZ0IOO5vTNXgg2lov9 xw8Q== MIME-Version: 1.0 Received: by 10.224.221.210 with SMTP id id18mr8773635qab.82.1331570493745; Mon, 12 Mar 2012 09:41:33 -0700 (PDT) Received: by 10.229.34.6 with HTTP; Mon, 12 Mar 2012 09:41:33 -0700 (PDT) In-Reply-To: <1331533722122-4465371.post@n4.nabble.com> References: <1331287945323-4459019.post@n4.nabble.com> <1331533722122-4465371.post@n4.nabble.com> Date: Mon, 12 Mar 2012 16:41:33 +0000 Message-ID: Subject: Re: [HELP] How to make persistent Topic after activemq server restart? From: Gary Tully To: users@activemq.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org this looks like something that is missing, there is no org.apache.activemq.broker.region.policy.SubscriptionRecoveryPolicy that will peek at the topic store, they are all memory based so they don't survive a restart. What is needed is a org.apache.activemq.broker.region.policy.SubscriptionRecoveryPolicy that can query the topic store. this needs an enhancement. Can you raise a jira issue to track this? On 12 March 2012 06:28, liny wrote: > Hi, > > I had read > http://activemq.apache.org/how-do-durable-queues-and-topics-work.html > how-do-durable-queues-and-topics-work . > It says > > > My request is I don't S to get M4 and M5. > S just need to get M7 - the last message. > New subscriber needs to get M7 when connected to activemq server even after > activemq server restarted. > Would anyone can share any idea? > Thank you very much. > > -- > View this message in context: http://activemq.2283324.n4.nabble.com/HELP-How-to-make-persistent-Topic-after-activemq-server-restart-tp4459019p4465371.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. -- http://fusesource.com http://blog.garytully.com