camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject camel git commit: CAMEL-9131: Add more labels to Camel components for options.
Date Mon, 21 Sep 2015 14:57:22 GMT
Repository: camel
Updated Branches:
  refs/heads/master f444b3c78 -> 4748c75d9


CAMEL-9131: Add more labels to Camel components for options.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/4748c75d
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/4748c75d
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/4748c75d

Branch: refs/heads/master
Commit: 4748c75d963b2fe83ce70a522e92461491ac5636
Parents: f444b3c
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Mon Sep 21 16:58:50 2015 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Mon Sep 21 16:58:50 2015 +0200

----------------------------------------------------------------------
 .../camel/component/sjms/SjmsEndpoint.java      | 38 ++++++++++----------
 .../maven/packaging/PrepareCatalogMojo.java     |  2 +-
 2 files changed, 20 insertions(+), 20 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/4748c75d/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/SjmsEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/SjmsEndpoint.java
b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/SjmsEndpoint.java
index cb5d396..9061ddd 100644
--- a/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/SjmsEndpoint.java
+++ b/components/camel-sjms/src/main/java/org/apache/camel/component/sjms/SjmsEndpoint.java
@@ -64,53 +64,53 @@ public class SjmsEndpoint extends DefaultEndpoint implements MultipleConsumersSu
     private String destinationName;
     @UriParam(label = "consumer", defaultValue = "true")
     private boolean synchronous = true;
-    @UriParam
+    @UriParam(label = "advanced")
     private HeaderFilterStrategy headerFilterStrategy;
-    @UriParam
+    @UriParam(label = "advanced")
     private boolean includeAllJMSXProperties;
-    @UriParam
+    @UriParam(label = "consumer,transaction")
     private boolean transacted;
     @UriParam(label = "producer")
     private String namedReplyTo;
     @UriParam(defaultValue = "AUTO_ACKNOWLEDGE", enums = "SESSION_TRANSACTED,CLIENT_ACKNOWLEDGE,AUTO_ACKNOWLEDGE,DUPS_OK_ACKNOWLEDGE")
     private SessionAcknowledgementType acknowledgementMode = SessionAcknowledgementType.AUTO_ACKNOWLEDGE;
-    @UriParam(defaultValue = "1")
+    @Deprecated
     private int sessionCount = 1;
     @UriParam(label = "producer", defaultValue = "1")
     private int producerCount = 1;
-    @UriParam(defaultValue = "1")
+    @UriParam(label = "consumer", defaultValue = "1")
     private int consumerCount = 1;
-    @UriParam(defaultValue = "-1")
+    @UriParam(label = "producer", defaultValue = "-1")
     private long ttl = -1;
     @UriParam(label = "producer", defaultValue = "true")
     private boolean persistent = true;
     @UriParam(label = "consumer")
     private String durableSubscriptionId;
-    @UriParam(label = "producer", defaultValue = "5000")
+    @UriParam(label = "producer,advanced", defaultValue = "5000")
     private long responseTimeOut = 5000;
-    @UriParam(label = "consumer")
+    @UriParam(label = "consumer,advanced")
     private String messageSelector;
-    @UriParam(label = "consumer", defaultValue = "-1")
+    @UriParam(label = "consumer,transaction", defaultValue = "-1")
     private int transactionBatchCount = -1;
-    @UriParam(label = "consumer", defaultValue = "5000")
+    @UriParam(label = "consumer,transaction", defaultValue = "5000")
     private long transactionBatchTimeout = 5000;
-    @UriParam
+    @UriParam(label = "advanced")
     private boolean asyncStartListener;
-    @UriParam
+    @UriParam(label = "advanced")
     private boolean asyncStopListener;
-    @UriParam(label = "producer", defaultValue = "true")
+    @UriParam(label = "producer,advanced", defaultValue = "true")
     private boolean prefillPool = true;
-    @UriParam(label = "producer", defaultValue = "true")
+    @UriParam(label = "producer,advanced", defaultValue = "true")
     private boolean allowNullBody = true;
-    @UriParam(defaultValue = "true")
+    @UriParam(label = "advanced", defaultValue = "true")
     private boolean mapJmsMessage = true;
-    @UriParam
+    @UriParam(label = "transaction")
     private TransactionCommitStrategy transactionCommitStrategy;
-    @UriParam
+    @UriParam(label = "advanced")
     private DestinationCreationStrategy destinationCreationStrategy = new DefaultDestinationCreationStrategy();
-    @UriParam
+    @UriParam(label = "advanced")
     private MessageCreatedStrategy messageCreatedStrategy;
-    @UriParam
+    @UriParam(label = "advanced")
     private JmsKeyFormatStrategy jmsKeyFormatStrategy;
 
     public SjmsEndpoint() {

http://git-wip-us.apache.org/repos/asf/camel/blob/4748c75d/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PrepareCatalogMojo.java
----------------------------------------------------------------------
diff --git a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PrepareCatalogMojo.java
b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PrepareCatalogMojo.java
index a691771..6c0a522 100644
--- a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PrepareCatalogMojo.java
+++ b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PrepareCatalogMojo.java
@@ -52,7 +52,7 @@ public class PrepareCatalogMojo extends AbstractMojo {
 
     private static final Pattern LABEL_PATTERN = Pattern.compile("\\\"label\\\":\\s\\\"([\\w,]+)\\\"");
 
-    private static final int UNUSED_LABELS_WARN = 20;
+    private static final int UNUSED_LABELS_WARN = 15;
 
     /**
      * The maven project.


Mime
View raw message