Repository: camel
Updated Branches:
  refs/heads/master 34c512e3e -> df701cc37


Camel component docs


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

Branch: refs/heads/master
Commit: bc5a4020e38e3069b00c065653f548575f324827
Parents: 34c512e
Author: Claus Ibsen <davscl...@apache.org>
Authored: Tue Jan 5 17:21:43 2016 +0100
Committer: Claus Ibsen <davscl...@apache.org>
Committed: Tue Jan 5 17:38:52 2016 +0100

----------------------------------------------------------------------
 .../java/org/apache/camel/http/common/HttpCommonEndpoint.java | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/bc5a4020/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpCommonEndpoint.java
----------------------------------------------------------------------
diff --git 
a/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpCommonEndpoint.java
 
b/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpCommonEndpoint.java
index 19cfcc1..22b9017 100644
--- 
a/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpCommonEndpoint.java
+++ 
b/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpCommonEndpoint.java
@@ -31,7 +31,6 @@ public abstract class HttpCommonEndpoint extends 
DefaultEndpoint implements Head
     // Note: all options must be documented with description in annotations so 
extended components can access the documentation
 
     HttpCommonComponent component;
-    UrlRewrite urlRewrite;
 
     @UriPath(label = "producer", description = "The url of the HTTP endpoint 
to call.") @Metadata(required = "true")
     URI httpUri;
@@ -99,6 +98,10 @@ public abstract class HttpCommonEndpoint extends 
DefaultEndpoint implements Head
     @UriParam(label = "producer", defaultValue = "200-299",
             description = "The status codes which is considered a success 
response. The values are inclusive. The range must be defined as from-to with 
the dash included.")
     private String okStatusCodeRange = "200-299";
+    @UriParam(label = "producer,advanced",
+            description = "Refers to a custom 
org.apache.camel.component.http.UrlRewrite which allows you to rewrite urls 
when you bridge/proxy endpoints."
+                    + " See more details at 
http://camel.apache.org/urlrewrite.html";)
+    private UrlRewrite urlRewrite;
 
     public HttpCommonEndpoint() {
     }
@@ -408,4 +411,6 @@ public abstract class HttpCommonEndpoint extends 
DefaultEndpoint implements Head
     public void setOkStatusCodeRange(String okStatusCodeRange) {
         this.okStatusCodeRange = okStatusCodeRange;
     }
+
+
 }

Reply via email to