[ 
https://issues.apache.org/jira/browse/AMQ-4565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13801789#comment-13801789
 ] 

Matt Pavlovich commented on AMQ-4565:
-------------------------------------

Christian-

If we had the ability to disable "write" capabilities to a destination/queue 
that would be a handy way to prevent new messages entering the queue, and allow 
the VT queue to be purged and deleted.

Sorta related to: AMQ-4765

> 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 was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to