You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2016/05/16 09:50:54 UTC

[03/50] [abbrv] camel git commit: Component docs

Component docs


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

Branch: refs/heads/kube-lb
Commit: 24698f951b2cf757989add51755819ae85990871
Parents: 77d7b7c
Author: Claus Ibsen <da...@apache.org>
Authored: Sat May 14 10:26:34 2016 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Mon May 16 09:59:33 2016 +0200

----------------------------------------------------------------------
 .../camel/component/smpp/SmppConfiguration.java | 57 ++++++++++----------
 1 file changed, 28 insertions(+), 29 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/24698f95/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppConfiguration.java b/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppConfiguration.java
index dcf2899..57fa2a4 100644
--- a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppConfiguration.java
+++ b/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppConfiguration.java
@@ -46,57 +46,57 @@ public class SmppConfiguration implements Cloneable {
     private String host = "localhost";
     @UriPath(defaultValue = "2775")
     private Integer port = 2775;
-    @UriParam(defaultValue = "smppclient")
+    @UriParam(label = "security", defaultValue = "smppclient")
     private String systemId = "smppclient";
-    @UriParam
+    @UriParam(label = "security")
     private String password = "password";
-    @UriParam(defaultValue = "cp")
+    @UriParam(label = "common", defaultValue = "cp")
     private String systemType = "cp";
-    @UriParam
+    @UriParam(label = "codec")
     private byte dataCoding = (byte) 0;
-    @UriParam(enums = "0,4,8")
+    @UriParam(label = "codec", enums = "0,4,8")
     private byte alphabet = Alphabet.ALPHA_DEFAULT.value();
-    @UriParam(defaultValue = "ISO-8859-1")
+    @UriParam(label = "codec", defaultValue = "ISO-8859-1")
     private String encoding = "ISO-8859-1";
-    @UriParam(defaultValue = "5000")
+    @UriParam(label = "advanced", defaultValue = "5000")
     private Integer enquireLinkTimer = 5000;
-    @UriParam(defaultValue = "10000")
+    @UriParam(label = "advanced", defaultValue = "10000")
     private Integer transactionTimer = 10000;
-    @UriParam(enums = "0,1,2")
+    @UriParam(label = "producer", enums = "0,1,2")
     private byte registeredDelivery = SMSCDeliveryReceipt.SUCCESS_FAILURE.value();
-    @UriParam(defaultValue = "CMT", enums = "CMT,CPT,VMN,VMA,WAP,USSD")
+    @UriParam(label = "producer", defaultValue = "CMT", enums = "CMT,CPT,VMN,VMA,WAP,USSD")
     private String serviceType = "CMT";
-    @UriParam(defaultValue = "1616")
+    @UriParam(label = "producer", defaultValue = "1616")
     private String sourceAddr = "1616";
-    @UriParam(defaultValue = "1717")
+    @UriParam(label = "producer", defaultValue = "1717")
     private String destAddr = "1717";
-    @UriParam(enums = "0,1,2,3,4,5,6")
+    @UriParam(label = "producer", enums = "0,1,2,3,4,5,6")
     private byte sourceAddrTon = TypeOfNumber.UNKNOWN.value();
-    @UriParam(enums = "0,1,2,3,4,5,6")
+    @UriParam(label = "producer", enums = "0,1,2,3,4,5,6")
     private byte destAddrTon = TypeOfNumber.UNKNOWN.value();
-    @UriParam(enums = "0,1,2,3,6,8,9,10,13,18")
+    @UriParam(label = "producer", enums = "0,1,2,3,6,8,9,10,13,18")
     private byte sourceAddrNpi = NumberingPlanIndicator.UNKNOWN.value();
-    @UriParam(enums = "0,1,2,3,6,8,9,10,13,18")
+    @UriParam(label = "producer", enums = "0,1,2,3,6,8,9,10,13,18")
     private byte destAddrNpi = NumberingPlanIndicator.UNKNOWN.value();
-    @UriParam
+    @UriParam(label = "consumer")
     private String addressRange = "";
-    @UriParam
+    @UriParam(label = "producer")
     private byte protocolId = (byte) 0;
-    @UriParam(enums = "0,1,2,3")
+    @UriParam(label = "producer", enums = "0,1,2,3")
     private byte priorityFlag = (byte) 1;
-    @UriParam(enums = "0,1")
+    @UriParam(label = "producer", enums = "0,1")
     private byte replaceIfPresentFlag = ReplaceIfPresentFlag.DEFAULT.value();
-    @UriParam(enums = "0,1,2,3,4,5,6")
+    @UriParam(label = "producer", enums = "0,1,2,3,4,5,6")
     private byte typeOfNumber = TypeOfNumber.UNKNOWN.value();
-    @UriParam(enums = "0,1,2,3,6,8,9,10,13,18")
+    @UriParam(label = "producer", enums = "0,1,2,3,6,8,9,10,13,18")
     private byte numberingPlanIndicator = NumberingPlanIndicator.UNKNOWN.value();
-    @UriParam
+    @UriParam(label = "security")
     private boolean usingSSL;
-    @UriParam(defaultValue = "5000")
+    @UriParam(label = "common", defaultValue = "5000")
     private long initialReconnectDelay = 5000;
-    @UriParam(defaultValue = "5000")
+    @UriParam(label = "common", defaultValue = "5000")
     private long reconnectDelay = 5000;
-    @UriParam
+    @UriParam(label = "producer")
     private boolean lazySessionCreation;
     @UriParam(label = "proxy")
     private String httpProxyHost;
@@ -106,14 +106,13 @@ public class SmppConfiguration implements Cloneable {
     private String httpProxyUsername;
     @UriParam(label = "proxy")
     private String httpProxyPassword;
+    @UriParam(label = "proxy")
+    private Map<String, String> proxyHeaders;
     @UriParam(label = "advanced")
     private SessionStateListener sessionStateListener;
     @UriParam(defaultValue = "ALLOW")
     private SmppSplittingPolicy splittingPolicy = SmppSplittingPolicy.ALLOW;
-    @UriParam(label = "proxy")
-    private Map<String, String> proxyHeaders;
 
-    
     /**
      * A POJO which contains all necessary configuration parameters for the SMPP connection
      *