[ 
https://issues.apache.org/jira/browse/ARTEMIS-2787?focusedWorklogId=441647&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-441647
 ]

ASF GitHub Bot logged work on ARTEMIS-2787:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 05/Jun/20 02:28
            Start Date: 05/Jun/20 02:28
    Worklog Time Spent: 10m 
      Work Description: michaelpearce-gain edited a comment on pull request 
#3169:
URL: https://github.com/apache/activemq-artemis/pull/3169#issuecomment-639212336


   @clebertsuconic re
   `I am trying to understand what disabling a queue would mean. There's 
already pause on a queue.`
   
   
   pause stops dispatch to consumers, but it means messages still route and 
enter the queue, causing it to fill up. 
   
   
   again there is also,  purge on no consumer this does indeed stop messages 
entering the queue BUT it only works when no consumers (as well it has another 
consequence (unwanted) of purging the data in the queue automatically when 
first consumer re-attaches)
   
   in this use case we need to simply stop messages entering the queue, even if 
consumers are attached. essentially, disabling the queue (thus enabled 
true/false aka enabled/disabled), 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 441647)
    Time Spent: 3.5h  (was: 3h 20m)

> Allow a queue to be disabled, so that messages are not routed to it.
> --------------------------------------------------------------------
>
>                 Key: ARTEMIS-2787
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2787
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>          Components: Broker
>            Reporter: Michael Andre Pearce
>            Priority: Major
>          Time Spent: 3.5h
>  Remaining Estimate: 0h
>
> There are a number of scenarios where it can be useful to disable a queue, so 
> messages are not routed to it.
> 1) An issue that requires investigation but you wish to keep the consumers 
> active, but do not wish to have message build up on the broker
>  
> 2) you want to connect consumers to a address, but you do not wish the flow 
> to start and wish to manage the enablement and disablement centrally.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to