This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-event.git

commit ffbce1f1788276e6cc99c1712d390b641a89efe7
Author: Carsten Ziegeler <[email protected]>
AuthorDate: Wed Aug 30 11:57:00 2017 +0000

    SLING-7091 : Label and value are interchanged for queue type
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1806689 
13f79535-47bb-0310-9956-ffa450edef68
---
 .../event/impl/jobs/config/InternalQueueConfiguration.java | 14 +++++++-------
 .../event/impl/jobs/config/MainQueueConfiguration.java     |  6 +++---
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git 
a/src/main/java/org/apache/sling/event/impl/jobs/config/InternalQueueConfiguration.java
 
b/src/main/java/org/apache/sling/event/impl/jobs/config/InternalQueueConfiguration.java
index d01f77f..537dd05 100644
--- 
a/src/main/java/org/apache/sling/event/impl/jobs/config/InternalQueueConfiguration.java
+++ 
b/src/main/java/org/apache/sling/event/impl/jobs/config/InternalQueueConfiguration.java
@@ -63,18 +63,18 @@ public class InternalQueueConfiguration
 
         @AttributeDefinition(name = "Type",
               description="The queue type.",
-              options = {@Option(label="UNORDERED",value="Parallel"),
-                      @Option(label="ORDERED",value="Ordered"),
-                      @Option(label="TOPIC_ROUND_ROBIN",value="Topic Round 
Robin")})
+              options = {@Option(label="Parallel",value="UNORDERED"),
+                      @Option(label="Ordered",value="ORDERED"),
+                      @Option(label="Topic Round 
Robin",value="TOPIC_ROUND_ROBIN")})
         String queue_type() default "UNORDERED";
 
         @AttributeDefinition(
                  name="Priority",
                  description="The priority for the threads used by this queue. 
Default is norm.",
                  options = {
-                         @Option(label="NORM",value="Norm"),
-                         @Option(label="MIN",value="Min"),
-                         @Option(label="MAX",value="Max")
+                         @Option(label="Norm",value="NORM"),
+                         @Option(label="Min",value="MIN"),
+                         @Option(label="Max",value="MAX")
                  })
          String queue_priority() default 
ConfigurationConstants.DEFAULT_PRIORITY;
 
@@ -121,7 +121,7 @@ public class InternalQueueConfiguration
               description="Integer value defining the ranking of this queue 
configuration. "
                         + "If more than one queue matches a job topic, the one 
with the highest ranking is used.")
          int service_ranking() default 0;
-     
+
          // Internal Name hint for web console.
          String webconsole_configurationFactory_nameHint() default "Queue: {" 
+ ConfigurationConstants.PROP_NAME + "}";
 
diff --git 
a/src/main/java/org/apache/sling/event/impl/jobs/config/MainQueueConfiguration.java
 
b/src/main/java/org/apache/sling/event/impl/jobs/config/MainQueueConfiguration.java
index cbaf50b..3bcc120 100644
--- 
a/src/main/java/org/apache/sling/event/impl/jobs/config/MainQueueConfiguration.java
+++ 
b/src/main/java/org/apache/sling/event/impl/jobs/config/MainQueueConfiguration.java
@@ -53,9 +53,9 @@ public class MainQueueConfiguration {
                 name="Priority",
                 description="The priority for the threads used by this queue. 
Default is norm.",
                 options = {
-                        @Option(label="NORM",value="Norm"),
-                        @Option(label="MIN",value="Min"),
-                        @Option(label="MAX",value="Max")
+                        @Option(label="Norm",value="NORM"),
+                        @Option(label="Min",value="MIN"),
+                        @Option(label="Max",value="MAX")
                 })
         String queue_priority() default 
ConfigurationConstants.DEFAULT_PRIORITY;
 

-- 
To stop receiving notification emails like this one, please contact
"[email protected]" <[email protected]>.

Reply via email to