camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [2/3] camel git commit: The option is required
Date Thu, 17 Dec 2015 10:31:48 GMT
The option is required


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

Branch: refs/heads/camel-2.16.x
Commit: 670363f22dbc8791518f5b1d08229d6e96d0cd56
Parents: 198f3cb
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Thu Dec 17 08:04:31 2015 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Thu Dec 17 11:31:19 2015 +0100

----------------------------------------------------------------------
 .../org/apache/camel/component/undertow/UndertowEndpoint.java     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/670363f2/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/UndertowEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/UndertowEndpoint.java
b/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/UndertowEndpoint.java
index 4bb0f01..621c5fd 100644
--- a/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/UndertowEndpoint.java
+++ b/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/UndertowEndpoint.java
@@ -32,6 +32,7 @@ import org.apache.camel.Producer;
 import org.apache.camel.impl.DefaultEndpoint;
 import org.apache.camel.spi.HeaderFilterStrategy;
 import org.apache.camel.spi.HeaderFilterStrategyAware;
+import org.apache.camel.spi.Metadata;
 import org.apache.camel.spi.UriEndpoint;
 import org.apache.camel.spi.UriParam;
 import org.apache.camel.spi.UriPath;
@@ -54,7 +55,7 @@ public class UndertowEndpoint extends DefaultEndpoint implements HeaderFilterStr
     private SSLContext sslContext;
     private OptionMap optionMap;
 
-    @UriPath
+    @UriPath @Metadata(required = "true")
     private URI httpURI;
     @UriParam
     private UndertowHttpBinding undertowHttpBinding;


Mime
View raw message