Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F3FD4C2B7 for ; Tue, 4 Jun 2013 02:27:20 +0000 (UTC) Received: (qmail 51847 invoked by uid 500); 4 Jun 2013 02:27:20 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 51768 invoked by uid 500); 4 Jun 2013 02:27: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 51605 invoked by uid 99); 4 Jun 2013 02:27:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jun 2013 02:27:20 +0000 Date: Tue, 4 Jun 2013 02:27:20 +0000 (UTC) From: "Christian Posta (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMQ-4565) Cannot unsubscribe from virtual topics MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-4565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13673960#comment-13673960 ] Christian Posta commented on AMQ-4565: -------------------------------------- Hi Torsten, It's not the same. AMQ-4356 had to do with true durable subscribers not able to subscribe completely from a virtual topic. This issue I opened as a result of a discussion Scott England-Sullivan and I had about subscribing to a queue which backs the virtual topic, and then not ever being able to unsubscribe from it, ie, there is no good way for the subscriber to announce to the broker "don't keep this subscription around anymore" since it's queue based... > Cannot unsubscribe from virtual topics > -------------------------------------- > > Key: AMQ-4565 > URL: https://issues.apache.org/jira/browse/AMQ-4565 > Project: ActiveMQ > Issue Type: Improvement > Components: Broker > Affects Versions: 5.8.0 > Reporter: Christian Posta > > Virtual Topics allow us to do things with pub/sub that we cannot otherwise do with JMS 1.1 spec. However, with durable subs we can "unsubscribe" a consumer telling the broker we are no longer interested in messages. If we just stop consuming, the queues can fill up. > With the queue-based impl of VT, we have to wait for the queue to be empty to delete it... to do that reliably, the producer would have to stop producing? And/or we have to use some TTL for the messages? Not sure... -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira