camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [1/2] camel git commit: CAMEL-8195: Add javadoc to model classes so we have EIP documentation out of the box
Date Fri, 16 Jan 2015 10:55:00 GMT
Repository: camel
Updated Branches:
  refs/heads/master 9ec31ce6f -> 8d106739c


http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/dataformat/SerializationDataFormat.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/dataformat/SerializationDataFormat.java
b/camel-core/src/main/java/org/apache/camel/model/dataformat/SerializationDataFormat.java
index 6df39d3..e448cf0 100644
--- a/camel-core/src/main/java/org/apache/camel/model/dataformat/SerializationDataFormat.java
+++ b/camel-core/src/main/java/org/apache/camel/model/dataformat/SerializationDataFormat.java
@@ -24,7 +24,7 @@ import org.apache.camel.spi.Label;
 import org.apache.camel.spi.RouteContext;
 
 /**
- * Represents the Java Serialization {@link DataFormat}
+ * Java Object Serialization data format
  *
  * @version 
  */

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/dataformat/SoapJaxbDataFormat.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/dataformat/SoapJaxbDataFormat.java
b/camel-core/src/main/java/org/apache/camel/model/dataformat/SoapJaxbDataFormat.java
index 2a7071b..3f6cc04 100644
--- a/camel-core/src/main/java/org/apache/camel/model/dataformat/SoapJaxbDataFormat.java
+++ b/camel-core/src/main/java/org/apache/camel/model/dataformat/SoapJaxbDataFormat.java
@@ -27,6 +27,9 @@ import org.apache.camel.model.DataFormatDefinition;
 import org.apache.camel.spi.DataFormat;
 import org.apache.camel.spi.Label;
 
+/**
+ * SOAP data format
+ */
 @Label("dataformat,transformation")
 @XmlRootElement(name = "soapjaxb")
 @XmlAccessorType(XmlAccessType.FIELD)

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/dataformat/SyslogDataFormat.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/dataformat/SyslogDataFormat.java
b/camel-core/src/main/java/org/apache/camel/model/dataformat/SyslogDataFormat.java
index b123b15..3ccb45a 100644
--- a/camel-core/src/main/java/org/apache/camel/model/dataformat/SyslogDataFormat.java
+++ b/camel-core/src/main/java/org/apache/camel/model/dataformat/SyslogDataFormat.java
@@ -24,7 +24,7 @@ import org.apache.camel.model.DataFormatDefinition;
 import org.apache.camel.spi.Label;
 
 /**
- * Represents a <a href="http://camel.apache.org/syslog.html">Syslog</a> {@link
org.apache.camel.spi.DataFormat}.
+ * Syslog data format
  *
  * @version 
  */

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/dataformat/TidyMarkupDataFormat.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/dataformat/TidyMarkupDataFormat.java
b/camel-core/src/main/java/org/apache/camel/model/dataformat/TidyMarkupDataFormat.java
index 4cfd1f9..b8b4789 100644
--- a/camel-core/src/main/java/org/apache/camel/model/dataformat/TidyMarkupDataFormat.java
+++ b/camel-core/src/main/java/org/apache/camel/model/dataformat/TidyMarkupDataFormat.java
@@ -32,7 +32,7 @@ import org.apache.camel.spi.RouteContext;
 import org.apache.camel.util.ObjectHelper;
 
 /**
- * Represents a wellformed HTML document (XML well Formed) {@link DataFormat}
+ * Tidymark (wellformed HTML) data format
  */
 @Label("dataformat,transformation")
 @XmlRootElement(name = "tidyMarkup")

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/dataformat/UniVocityCsvDataFormat.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/dataformat/UniVocityCsvDataFormat.java
b/camel-core/src/main/java/org/apache/camel/model/dataformat/UniVocityCsvDataFormat.java
index d0a6e1d..43fc997 100644
--- a/camel-core/src/main/java/org/apache/camel/model/dataformat/UniVocityCsvDataFormat.java
+++ b/camel-core/src/main/java/org/apache/camel/model/dataformat/UniVocityCsvDataFormat.java
@@ -26,7 +26,7 @@ import org.apache.camel.spi.DataFormat;
 import org.apache.camel.spi.Label;
 
 /**
- * Represents the uniVocity CSV {@link org.apache.camel.spi.DataFormat}
+ * UniVocity CSV data format
  */
 @Label("dataformat,transformation")
 @XmlRootElement(name = "univocity-csv")

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/dataformat/UniVocityFixedWidthDataFormat.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/dataformat/UniVocityFixedWidthDataFormat.java
b/camel-core/src/main/java/org/apache/camel/model/dataformat/UniVocityFixedWidthDataFormat.java
index 73ce11a..b7530cc 100644
--- a/camel-core/src/main/java/org/apache/camel/model/dataformat/UniVocityFixedWidthDataFormat.java
+++ b/camel-core/src/main/java/org/apache/camel/model/dataformat/UniVocityFixedWidthDataFormat.java
@@ -26,7 +26,7 @@ import org.apache.camel.spi.DataFormat;
 import org.apache.camel.spi.Label;
 
 /**
- * Represents the uniVocity fixed-width {@link org.apache.camel.spi.DataFormat}
+ * UniVocity fixed-width data format
  */
 @Label("dataformat,transformation")
 @XmlRootElement(name = "univocity-fixed")

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/dataformat/UniVocityHeader.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/dataformat/UniVocityHeader.java
b/camel-core/src/main/java/org/apache/camel/model/dataformat/UniVocityHeader.java
index 760c011..72fabde 100644
--- a/camel-core/src/main/java/org/apache/camel/model/dataformat/UniVocityHeader.java
+++ b/camel-core/src/main/java/org/apache/camel/model/dataformat/UniVocityHeader.java
@@ -25,7 +25,7 @@ import javax.xml.bind.annotation.XmlValue;
 import org.apache.camel.spi.Label;
 
 /**
- * Represents a header for the uniVocity data formats.
+ * To configure headers for UniVocity data formats.
  */
 @Label("dataformat,transformation")
 @XmlRootElement(name = "univocity-header")

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/dataformat/UniVocityTsvDataFormat.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/dataformat/UniVocityTsvDataFormat.java
b/camel-core/src/main/java/org/apache/camel/model/dataformat/UniVocityTsvDataFormat.java
index ed08ede..80e2797 100644
--- a/camel-core/src/main/java/org/apache/camel/model/dataformat/UniVocityTsvDataFormat.java
+++ b/camel-core/src/main/java/org/apache/camel/model/dataformat/UniVocityTsvDataFormat.java
@@ -26,7 +26,7 @@ import org.apache.camel.spi.DataFormat;
 import org.apache.camel.spi.Label;
 
 /**
- * Represents the uniVocity TSV {@link org.apache.camel.spi.DataFormat}
+ * UniVocity TSV data format
  */
 @Label("dataformat,transformation")
 @XmlRootElement(name = "univocity-tsv")

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/dataformat/XMLBeansDataFormat.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/dataformat/XMLBeansDataFormat.java
b/camel-core/src/main/java/org/apache/camel/model/dataformat/XMLBeansDataFormat.java
index 02fe274..b9a0baa 100644
--- a/camel-core/src/main/java/org/apache/camel/model/dataformat/XMLBeansDataFormat.java
+++ b/camel-core/src/main/java/org/apache/camel/model/dataformat/XMLBeansDataFormat.java
@@ -25,7 +25,7 @@ import org.apache.camel.model.DataFormatDefinition;
 import org.apache.camel.spi.Label;
 
 /**
- * Represents the XMLBeans XML {@link org.apache.camel.spi.DataFormat}
+ * XMLBeans data format
  *
  * @version 
  */

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/dataformat/XMLSecurityDataFormat.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/dataformat/XMLSecurityDataFormat.java
b/camel-core/src/main/java/org/apache/camel/model/dataformat/XMLSecurityDataFormat.java
index 816873f..eb06ff3 100644
--- a/camel-core/src/main/java/org/apache/camel/model/dataformat/XMLSecurityDataFormat.java
+++ b/camel-core/src/main/java/org/apache/camel/model/dataformat/XMLSecurityDataFormat.java
@@ -33,7 +33,7 @@ import org.apache.camel.spi.NamespaceAware;
 import org.apache.camel.util.jsse.KeyStoreParameters;
 
 /**
- * Represents as XML Security Encrypter/Decrypter {@link DataFormat}
+ * xml-security data format
  */
 @Label("dataformat,transformation")
 @XmlRootElement(name = "secureXML")

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/dataformat/XStreamDataFormat.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/dataformat/XStreamDataFormat.java
b/camel-core/src/main/java/org/apache/camel/model/dataformat/XStreamDataFormat.java
index 0feabff..8ba2124 100644
--- a/camel-core/src/main/java/org/apache/camel/model/dataformat/XStreamDataFormat.java
+++ b/camel-core/src/main/java/org/apache/camel/model/dataformat/XStreamDataFormat.java
@@ -42,7 +42,7 @@ import org.apache.camel.util.CamelContextHelper;
 import org.apache.camel.util.ObjectHelper;
 
 /**
- * Represents the XStream XML {@link org.apache.camel.spi.DataFormat}
+ * xstream data format
  *
  * @version 
  */

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/dataformat/XmlJsonDataFormat.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/dataformat/XmlJsonDataFormat.java
b/camel-core/src/main/java/org/apache/camel/model/dataformat/XmlJsonDataFormat.java
index fba0812..0affc07 100644
--- a/camel-core/src/main/java/org/apache/camel/model/dataformat/XmlJsonDataFormat.java
+++ b/camel-core/src/main/java/org/apache/camel/model/dataformat/XmlJsonDataFormat.java
@@ -32,7 +32,7 @@ import org.apache.camel.spi.DataFormat;
 import org.apache.camel.spi.Label;
 
 /**
- * Represents a <a href="http://camel.apache.org/xmljson.html">XML-JSON</a> {@link
org.apache.camel.spi.DataFormat}.
+ * xml-json data format
  *
  * @version 
  */

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/dataformat/XmlRpcDataFormat.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/dataformat/XmlRpcDataFormat.java
b/camel-core/src/main/java/org/apache/camel/model/dataformat/XmlRpcDataFormat.java
index 0cdeb09..4f1e13c 100644
--- a/camel-core/src/main/java/org/apache/camel/model/dataformat/XmlRpcDataFormat.java
+++ b/camel-core/src/main/java/org/apache/camel/model/dataformat/XmlRpcDataFormat.java
@@ -27,7 +27,7 @@ import org.apache.camel.spi.DataFormat;
 import org.apache.camel.spi.Label;
 
 /**
- * Represents the XmlRpc XML {@link org.apache.camel.spi.DataFormat}
+ * xml-rpc data format
  */
 @Label("dataformat,transformation")
 @XmlRootElement(name = "xmlrpc")

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/dataformat/ZipDataFormat.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/dataformat/ZipDataFormat.java
b/camel-core/src/main/java/org/apache/camel/model/dataformat/ZipDataFormat.java
index d4a750f..2514134 100644
--- a/camel-core/src/main/java/org/apache/camel/model/dataformat/ZipDataFormat.java
+++ b/camel-core/src/main/java/org/apache/camel/model/dataformat/ZipDataFormat.java
@@ -28,7 +28,7 @@ import org.apache.camel.spi.Label;
 import org.apache.camel.spi.RouteContext;
 
 /**
- * Represents the ZIP XML {@link org.apache.camel.spi.DataFormat}
+ * zip data format (not for zip files)
  */
 @Label("dataformat,transformation")
 @XmlRootElement(name = "zip")

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/dataformat/ZipFileDataFormat.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/dataformat/ZipFileDataFormat.java
b/camel-core/src/main/java/org/apache/camel/model/dataformat/ZipFileDataFormat.java
index 433e886..e33ae15 100644
--- a/camel-core/src/main/java/org/apache/camel/model/dataformat/ZipFileDataFormat.java
+++ b/camel-core/src/main/java/org/apache/camel/model/dataformat/ZipFileDataFormat.java
@@ -27,7 +27,7 @@ import org.apache.camel.spi.DataFormat;
 import org.apache.camel.spi.Label;
 
 /**
- * Represents the ZIP file XML {@link org.apache.camel.spi.DataFormat}.
+ * zip-file data format
  */
 @Label("dataformat,transformation")
 // TODO: use zipfile as name in Camel 3.0

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/language/JXPathExpression.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/language/JXPathExpression.java
b/camel-core/src/main/java/org/apache/camel/model/language/JXPathExpression.java
index 59a2529..ea97a50 100644
--- a/camel-core/src/main/java/org/apache/camel/model/language/JXPathExpression.java
+++ b/camel-core/src/main/java/org/apache/camel/model/language/JXPathExpression.java
@@ -27,7 +27,7 @@ import org.apache.camel.Predicate;
 import org.apache.camel.spi.Label;
 
 /**
- * For <a href="http://commons.apache.org/jxpath/">JXPath</a> expressions and
predicates
+ * For JXPath expressions and predicates
  *
  * @version 
  */

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/language/MethodCallExpression.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/language/MethodCallExpression.java
b/camel-core/src/main/java/org/apache/camel/model/language/MethodCallExpression.java
index 12fa7bb..1bcd174 100644
--- a/camel-core/src/main/java/org/apache/camel/model/language/MethodCallExpression.java
+++ b/camel-core/src/main/java/org/apache/camel/model/language/MethodCallExpression.java
@@ -38,8 +38,7 @@ import org.apache.camel.util.ObjectHelper;
 import org.apache.camel.util.OgnlHelper;
 
 /**
- * For expressions and predicates using the
- * <a href="http://camel.apache.org/bean-language.html">bean language</a>
+ * For expressions and predicates using a java bean (aka method call)
  *
  * @version
  */

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/language/RefExpression.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/language/RefExpression.java b/camel-core/src/main/java/org/apache/camel/model/language/RefExpression.java
index 8470d72..9876e57 100644
--- a/camel-core/src/main/java/org/apache/camel/model/language/RefExpression.java
+++ b/camel-core/src/main/java/org/apache/camel/model/language/RefExpression.java
@@ -23,9 +23,7 @@ import javax.xml.bind.annotation.XmlRootElement;
 import org.apache.camel.spi.Label;
 
 /**
- * For expressions and predicates using a reference to an existing
- * {@link org.apache.camel.Expression} or {@link org.apache.camel.Predicate}
- * to lookup from the {@link org.apache.camel.spi.Registry}.
+ * For using a custom expression
  */
 @Label("language")
 @XmlRootElement(name = "ref")

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/language/SimpleExpression.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/language/SimpleExpression.java
b/camel-core/src/main/java/org/apache/camel/model/language/SimpleExpression.java
index babd954..d7a2939 100644
--- a/camel-core/src/main/java/org/apache/camel/model/language/SimpleExpression.java
+++ b/camel-core/src/main/java/org/apache/camel/model/language/SimpleExpression.java
@@ -30,8 +30,7 @@ import org.apache.camel.spi.Label;
 import org.apache.camel.util.ObjectHelper;
 
 /**
- * For expressions and predicates using the
- * <a href="http://camel.apache.org/simple.html">simple language</a>
+ * For expressions and predicates using the simple language
  *
  * @version 
  */

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/language/XPathExpression.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/language/XPathExpression.java
b/camel-core/src/main/java/org/apache/camel/model/language/XPathExpression.java
index a373652..ba0e580 100644
--- a/camel-core/src/main/java/org/apache/camel/model/language/XPathExpression.java
+++ b/camel-core/src/main/java/org/apache/camel/model/language/XPathExpression.java
@@ -49,13 +49,11 @@ public class XPathExpression extends NamespaceAwareExpression {
     private Boolean logNamespaces;
     @XmlAttribute(name = "headerName")
     private String headerName;
-    
     @XmlTransient
     private Class<?> resultType;
     @XmlTransient
     private XPathFactory xpathFactory;
     
-
     public XPathExpression() {
     }
 

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/loadbalancer/CircuitBreakerLoadBalancerDefinition.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/loadbalancer/CircuitBreakerLoadBalancerDefinition.java
b/camel-core/src/main/java/org/apache/camel/model/loadbalancer/CircuitBreakerLoadBalancerDefinition.java
index 7971c6d..c5413a5 100644
--- a/camel-core/src/main/java/org/apache/camel/model/loadbalancer/CircuitBreakerLoadBalancerDefinition.java
+++ b/camel-core/src/main/java/org/apache/camel/model/loadbalancer/CircuitBreakerLoadBalancerDefinition.java
@@ -33,7 +33,7 @@ import org.apache.camel.spi.RouteContext;
 import org.apache.camel.util.ObjectHelper;
 
 /**
- * Represents an XML &lt;circuitBreaker/&gt; element
+ * Circuit break load balancer
  */
 @Label("EIP,routing")
 @XmlRootElement(name = "circuitBreaker")

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/loadbalancer/CustomLoadBalancerDefinition.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/loadbalancer/CustomLoadBalancerDefinition.java
b/camel-core/src/main/java/org/apache/camel/model/loadbalancer/CustomLoadBalancerDefinition.java
index af26e85..92b9234 100644
--- a/camel-core/src/main/java/org/apache/camel/model/loadbalancer/CustomLoadBalancerDefinition.java
+++ b/camel-core/src/main/java/org/apache/camel/model/loadbalancer/CustomLoadBalancerDefinition.java
@@ -29,7 +29,7 @@ import org.apache.camel.util.CamelContextHelper;
 import org.apache.camel.util.ObjectHelper;
 
 /**
- * Represents an XML &lt;customLoadBalancer/&gt; element
+ * Custom load balancer
  */
 @Label("EIP,routing")
 @XmlRootElement(name = "customLoadBalancer")

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/loadbalancer/FailoverLoadBalancerDefinition.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/loadbalancer/FailoverLoadBalancerDefinition.java
b/camel-core/src/main/java/org/apache/camel/model/loadbalancer/FailoverLoadBalancerDefinition.java
index 2faf4ec..2146821 100644
--- a/camel-core/src/main/java/org/apache/camel/model/loadbalancer/FailoverLoadBalancerDefinition.java
+++ b/camel-core/src/main/java/org/apache/camel/model/loadbalancer/FailoverLoadBalancerDefinition.java
@@ -32,7 +32,7 @@ import org.apache.camel.spi.Label;
 import org.apache.camel.spi.RouteContext;
 
 /**
- * Represents an XML &lt;failover/&gt; element
+ * Failover load balancer
  */
 @Label("EIP,routing")
 @XmlRootElement(name = "failover")

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/loadbalancer/RandomLoadBalancerDefinition.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/loadbalancer/RandomLoadBalancerDefinition.java
b/camel-core/src/main/java/org/apache/camel/model/loadbalancer/RandomLoadBalancerDefinition.java
index ae390a3..ab93124 100644
--- a/camel-core/src/main/java/org/apache/camel/model/loadbalancer/RandomLoadBalancerDefinition.java
+++ b/camel-core/src/main/java/org/apache/camel/model/loadbalancer/RandomLoadBalancerDefinition.java
@@ -26,7 +26,7 @@ import org.apache.camel.spi.Label;
 import org.apache.camel.spi.RouteContext;
 
 /**
- * Represents an XML &lt;random/&gt; element
+ * Random load balancer
  */
 @Label("EIP,routing")
 @XmlRootElement(name = "random")

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/loadbalancer/RoundRobinLoadBalancerDefinition.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/loadbalancer/RoundRobinLoadBalancerDefinition.java
b/camel-core/src/main/java/org/apache/camel/model/loadbalancer/RoundRobinLoadBalancerDefinition.java
index 009e5fb..e93a3f2 100644
--- a/camel-core/src/main/java/org/apache/camel/model/loadbalancer/RoundRobinLoadBalancerDefinition.java
+++ b/camel-core/src/main/java/org/apache/camel/model/loadbalancer/RoundRobinLoadBalancerDefinition.java
@@ -26,7 +26,7 @@ import org.apache.camel.spi.Label;
 import org.apache.camel.spi.RouteContext;
 
 /**
- * Represents an XML &lt;roundRobin/&gt; element
+ * Round robin load balancer
  */
 @Label("EIP,routing")
 @XmlRootElement(name = "roundRobin")

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/loadbalancer/StickyLoadBalancerDefinition.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/loadbalancer/StickyLoadBalancerDefinition.java
b/camel-core/src/main/java/org/apache/camel/model/loadbalancer/StickyLoadBalancerDefinition.java
index 2f73b2e..bf506e8 100644
--- a/camel-core/src/main/java/org/apache/camel/model/loadbalancer/StickyLoadBalancerDefinition.java
+++ b/camel-core/src/main/java/org/apache/camel/model/loadbalancer/StickyLoadBalancerDefinition.java
@@ -29,7 +29,7 @@ import org.apache.camel.spi.Label;
 import org.apache.camel.spi.RouteContext;
 
 /**
- * Represents an XML &lt;sticky/&gt; element
+ * Sticky load balancer
  */
 @Label("EIP,routing")
 @XmlRootElement(name = "sticky")

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/loadbalancer/TopicLoadBalancerDefinition.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/loadbalancer/TopicLoadBalancerDefinition.java
b/camel-core/src/main/java/org/apache/camel/model/loadbalancer/TopicLoadBalancerDefinition.java
index 65e9435..75b00c5 100644
--- a/camel-core/src/main/java/org/apache/camel/model/loadbalancer/TopicLoadBalancerDefinition.java
+++ b/camel-core/src/main/java/org/apache/camel/model/loadbalancer/TopicLoadBalancerDefinition.java
@@ -26,8 +26,7 @@ import org.apache.camel.spi.Label;
 import org.apache.camel.spi.RouteContext;
 
 /**
- * Represents an XML &lt;topic/&gt; element
- * 
+ * Topic load balancer
  */
 @Label("EIP,routing")
 @XmlRootElement(name = "topic")

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/loadbalancer/WeightedLoadBalancerDefinition.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/loadbalancer/WeightedLoadBalancerDefinition.java
b/camel-core/src/main/java/org/apache/camel/model/loadbalancer/WeightedLoadBalancerDefinition.java
index fe8af34..20029f4 100644
--- a/camel-core/src/main/java/org/apache/camel/model/loadbalancer/WeightedLoadBalancerDefinition.java
+++ b/camel-core/src/main/java/org/apache/camel/model/loadbalancer/WeightedLoadBalancerDefinition.java
@@ -34,7 +34,7 @@ import org.apache.camel.spi.RouteContext;
 import org.apache.camel.util.ObjectHelper;
 
 /**
- * Represents an XML &lt;weighted/&gt; element
+ * Weighted load balancer
  */
 @Label("EIP,routing")
 @XmlRootElement(name = "weighted")

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/rest/DeleteVerbDefinition.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/rest/DeleteVerbDefinition.java
b/camel-core/src/main/java/org/apache/camel/model/rest/DeleteVerbDefinition.java
index 96cd4a5..8c05b05 100644
--- a/camel-core/src/main/java/org/apache/camel/model/rest/DeleteVerbDefinition.java
+++ b/camel-core/src/main/java/org/apache/camel/model/rest/DeleteVerbDefinition.java
@@ -22,6 +22,9 @@ import javax.xml.bind.annotation.XmlRootElement;
 
 import org.apache.camel.spi.Label;
 
+/**
+ * Rest DELETE command
+ */
 @Label("rest")
 @XmlRootElement(name = "delete")
 @XmlAccessorType(XmlAccessType.FIELD)

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/rest/GetVerbDefinition.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/rest/GetVerbDefinition.java b/camel-core/src/main/java/org/apache/camel/model/rest/GetVerbDefinition.java
index c95b4b4..ec0c30f 100644
--- a/camel-core/src/main/java/org/apache/camel/model/rest/GetVerbDefinition.java
+++ b/camel-core/src/main/java/org/apache/camel/model/rest/GetVerbDefinition.java
@@ -22,6 +22,9 @@ import javax.xml.bind.annotation.XmlRootElement;
 
 import org.apache.camel.spi.Label;
 
+/**
+ * Rest GET command
+ */
 @Label("rest")
 @XmlRootElement(name = "get")
 @XmlAccessorType(XmlAccessType.FIELD)

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/rest/HeadVerbDefinition.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/rest/HeadVerbDefinition.java
b/camel-core/src/main/java/org/apache/camel/model/rest/HeadVerbDefinition.java
index 77cdf8b..398bc16 100644
--- a/camel-core/src/main/java/org/apache/camel/model/rest/HeadVerbDefinition.java
+++ b/camel-core/src/main/java/org/apache/camel/model/rest/HeadVerbDefinition.java
@@ -22,6 +22,9 @@ import javax.xml.bind.annotation.XmlRootElement;
 
 import org.apache.camel.spi.Label;
 
+/**
+ * Rest HEAD command
+ */
 @Label("rest")
 @XmlRootElement(name = "head")
 @XmlAccessorType(XmlAccessType.FIELD)

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/rest/PostVerbDefinition.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/rest/PostVerbDefinition.java
b/camel-core/src/main/java/org/apache/camel/model/rest/PostVerbDefinition.java
index 507b419..c8e6f5d 100644
--- a/camel-core/src/main/java/org/apache/camel/model/rest/PostVerbDefinition.java
+++ b/camel-core/src/main/java/org/apache/camel/model/rest/PostVerbDefinition.java
@@ -22,6 +22,9 @@ import javax.xml.bind.annotation.XmlRootElement;
 
 import org.apache.camel.spi.Label;
 
+/**
+ * Rest POST command
+ */
 @Label("rest")
 @XmlRootElement(name = "post")
 @XmlAccessorType(XmlAccessType.FIELD)

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/rest/PutVerbDefinition.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/rest/PutVerbDefinition.java b/camel-core/src/main/java/org/apache/camel/model/rest/PutVerbDefinition.java
index a4912a3..323ec44 100644
--- a/camel-core/src/main/java/org/apache/camel/model/rest/PutVerbDefinition.java
+++ b/camel-core/src/main/java/org/apache/camel/model/rest/PutVerbDefinition.java
@@ -22,6 +22,9 @@ import javax.xml.bind.annotation.XmlRootElement;
 
 import org.apache.camel.spi.Label;
 
+/**
+ * Rest PUT command
+ */
 @Label("rest")
 @XmlRootElement(name = "put")
 @XmlAccessorType(XmlAccessType.FIELD)

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/rest/RestBindingDefinition.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/rest/RestBindingDefinition.java
b/camel-core/src/main/java/org/apache/camel/model/rest/RestBindingDefinition.java
index 6ee4c8b..e479842 100644
--- a/camel-core/src/main/java/org/apache/camel/model/rest/RestBindingDefinition.java
+++ b/camel-core/src/main/java/org/apache/camel/model/rest/RestBindingDefinition.java
@@ -33,6 +33,9 @@ import org.apache.camel.spi.Label;
 import org.apache.camel.spi.RouteContext;
 import org.apache.camel.util.IntrospectionSupport;
 
+/**
+ * To configure rest binding
+ */
 @Label("rest")
 @XmlRootElement(name = "restBinding")
 @XmlAccessorType(XmlAccessType.FIELD)

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/rest/RestConfigurationDefinition.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/rest/RestConfigurationDefinition.java
b/camel-core/src/main/java/org/apache/camel/model/rest/RestConfigurationDefinition.java
index afec8e9..f4a8172 100644
--- a/camel-core/src/main/java/org/apache/camel/model/rest/RestConfigurationDefinition.java
+++ b/camel-core/src/main/java/org/apache/camel/model/rest/RestConfigurationDefinition.java
@@ -32,7 +32,7 @@ import org.apache.camel.spi.RestConfiguration;
 import org.apache.camel.util.CamelContextHelper;
 
 /**
- * Represents an XML &lt;restConfiguration/&gt; element
+ * To configure rest
  */
 @Label("rest")
 @XmlRootElement(name = "restConfiguration")

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/rest/RestDefinition.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/rest/RestDefinition.java b/camel-core/src/main/java/org/apache/camel/model/rest/RestDefinition.java
index 12090a6..a5a2158 100644
--- a/camel-core/src/main/java/org/apache/camel/model/rest/RestDefinition.java
+++ b/camel-core/src/main/java/org/apache/camel/model/rest/RestDefinition.java
@@ -36,7 +36,7 @@ import org.apache.camel.util.ObjectHelper;
 import org.apache.camel.util.URISupport;
 
 /**
- * Represents an XML &lt;rest/&gt; element
+ * Defines a rest service using the rest-dsl
  */
 @Label("rest")
 @XmlRootElement(name = "rest")

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/rest/RestHostNameResolver.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/rest/RestHostNameResolver.java
b/camel-core/src/main/java/org/apache/camel/model/rest/RestHostNameResolver.java
index 85d2167..468edc4 100644
--- a/camel-core/src/main/java/org/apache/camel/model/rest/RestHostNameResolver.java
+++ b/camel-core/src/main/java/org/apache/camel/model/rest/RestHostNameResolver.java
@@ -21,6 +21,9 @@ import javax.xml.bind.annotation.XmlType;
 
 import org.apache.camel.spi.Label;
 
+/**
+ * To configure the rest hostname resolver
+ */
 @Label("rest")
 @XmlType
 @XmlEnum(String.class)

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/rest/RestPropertyDefinition.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/rest/RestPropertyDefinition.java
b/camel-core/src/main/java/org/apache/camel/model/rest/RestPropertyDefinition.java
index 162aad7..146ddfc 100644
--- a/camel-core/src/main/java/org/apache/camel/model/rest/RestPropertyDefinition.java
+++ b/camel-core/src/main/java/org/apache/camel/model/rest/RestPropertyDefinition.java
@@ -24,7 +24,7 @@ import javax.xml.bind.annotation.XmlRootElement;
 import org.apache.camel.spi.Label;
 
 /**
- * Represents the XML type for &lt;restProperty&gt;.
+ * A key value pair
  */
 @Label("rest")
 @XmlRootElement(name = "restProperty")

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/rest/RestsDefinition.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/rest/RestsDefinition.java b/camel-core/src/main/java/org/apache/camel/model/rest/RestsDefinition.java
index 8eb9fc8..0f83df1 100644
--- a/camel-core/src/main/java/org/apache/camel/model/rest/RestsDefinition.java
+++ b/camel-core/src/main/java/org/apache/camel/model/rest/RestsDefinition.java
@@ -29,7 +29,7 @@ import org.apache.camel.model.OptionalIdentifiedDefinition;
 import org.apache.camel.spi.Label;
 
 /**
- * Represents a collection of {@link org.apache.camel.model.rest.RestDefinition REST's}
+ * A series of rest services defined using the rest-dsl
  */
 @Label("rest")
 @XmlRootElement(name = "rests")

http://git-wip-us.apache.org/repos/asf/camel/blob/8d106739/camel-core/src/main/java/org/apache/camel/model/rest/VerbDefinition.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/rest/VerbDefinition.java b/camel-core/src/main/java/org/apache/camel/model/rest/VerbDefinition.java
index c4c2327..ba3fa38 100644
--- a/camel-core/src/main/java/org/apache/camel/model/rest/VerbDefinition.java
+++ b/camel-core/src/main/java/org/apache/camel/model/rest/VerbDefinition.java
@@ -29,6 +29,9 @@ import org.apache.camel.model.RouteDefinition;
 import org.apache.camel.model.ToDefinition;
 import org.apache.camel.spi.Label;
 
+/**
+ * Rest command
+ */
 @Label("rest")
 @XmlRootElement(name = "verb")
 @XmlAccessorType(XmlAccessType.FIELD)


Mime
View raw message