You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@activemq.apache.org by GitBox <gi...@apache.org> on 2020/06/05 00:13:01 UTC

[GitHub] [activemq-artemis] jbertram commented on a change in pull request #3169: ARTEMIS-2787 - Add ability to disable and enable a queue

jbertram commented on a change in pull request #3169:
URL: https://github.com/apache/activemq-artemis/pull/3169#discussion_r435624163



##########
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:
       Shouldn't this be `setEnabled(Boolean.valueOf(value));`?




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