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 4A24810766 for ; Thu, 1 Aug 2013 22:12:08 +0000 (UTC) Received: (qmail 14171 invoked by uid 500); 1 Aug 2013 22:12:07 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 14138 invoked by uid 500); 1 Aug 2013 22:12:07 -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 14130 invoked by uid 99); 1 Aug 2013 22:12:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Aug 2013 22:12:07 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.250.139 is neither permitted nor denied by domain of jw@yahoo-inc.com) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Aug 2013 22:12:02 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1V515Y-0005pC-8d for users@activemq.apache.org; Thu, 01 Aug 2013 15:11:16 -0700 Date: Thu, 1 Aug 2013 15:11:01 -0700 (PDT) From: Jake Choi To: users@activemq.apache.org Message-ID: <1375395061212-4670026.post@n4.nabble.com> In-Reply-To: References: <1375376342750-4670003.post@n4.nabble.com> <1375379145026-4670005.post@n4.nabble.com> Subject: Re: How to configure this combination of queue cursors? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Now, I want to do the same for the durable topic subscription but looks not possible at this time, unlike the queue case: PolicyEntry policyEntry = new PolicyEntry(); policyEntry.setPendingDurableSubscriberPolicy(new StorePendingDurableSubscriberMessageStoragePolicy() { @Override public PendingMessageCursor getSubscriberPendingMessageCursor(Broker broker, String clientId, String name, int maxBatchSize, DurableTopicSubscription sub) { StoreDurableSubscriberCursor cursor = (StoreDurableSubscriberCursor) super .getSubscriberPendingMessageCursor(broker, clientId, name, maxBatchSize, sub); // there's no #setNonPersistent(PendingMessageCursor cursor); // so, how to replace "nonPersistent" from FilePendingMessageCursor to VM- here? return cursor; } }); Any other way? -- View this message in context: http://activemq.2283324.n4.nabble.com/How-to-configure-this-combination-of-queue-cursors-tp4670003p4670026.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.