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

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

                Author: ASF GitHub Bot
            Created on: 05/Jun/20 01:56
            Start Date: 05/Jun/20 01:56
    Worklog Time Spent: 10m 
      Work Description: michaelpearce-gain commented on a change in pull 
request #3169:
URL: https://github.com/apache/activemq-artemis/pull/3169#discussion_r435649023



##########
File path: 
artemis-commons/src/main/java/org/apache/activemq/artemis/api/core/QueueAttributes.java
##########
@@ -103,6 +105,8 @@ public void set(String key, String value) {
             setAutoDeleteMessageCount(Long.valueOf(value));
          } else if (key.equals(RING_SIZE)) {
             setRingSize(Long.valueOf(value));
+         } else if (key.equals(ENABLED)) {
+            setRingSize(Long.valueOf(value));
          }

Review comment:
       yes good catch




----------------------------------------------------------------
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:
us...@infra.apache.org


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

    Worklog Id:     (was: 441631)
    Time Spent: 1h 20m  (was: 1h 10m)

> 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: 1h 20m
>  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