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

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

                Author: ASF GitHub Bot
            Created on: 05/Jun/20 15:30
            Start Date: 05/Jun/20 15:30
    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-639563296


   i see what you mean, i think holding state somewhere else (e.g. in two 
places) would be dangerou thoughs, we could though do the updae via post 
office, as such it will update the binding and then queue that way, as such it 
will go via same route as config change and state be held in the queue binding.
   
   
   e.,g. 
            
server.getPostOffice().updateQueue(queue.getQueueConfiguration().setEnabled(false));
   


----------------------------------------------------------------
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: 441885)
    Time Spent: 5h 50m  (was: 5h 40m)

> 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: 5h 50m
>  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