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/10/07 15:11:48 UTC

[2/8] camel git commit: Fixed syntax on endpoint for component docs in camel-chronicele

Fixed syntax on endpoint for component docs in camel-chronicele


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

Branch: refs/heads/camel-2.18.x
Commit: 63439e174e2fbc7b89994e5df3a3723b02c55c58
Parents: ef88e60
Author: Claus Ibsen <da...@apache.org>
Authored: Wed Oct 5 11:53:41 2016 -0400
Committer: Claus Ibsen <da...@apache.org>
Committed: Fri Oct 7 10:08:58 2016 -0500

----------------------------------------------------------------------
 .../java/org/apache/camel/component/consul/ConsulEndpoint.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/63439e17/components/camel-consul/src/main/java/org/apache/camel/component/consul/ConsulEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-consul/src/main/java/org/apache/camel/component/consul/ConsulEndpoint.java b/components/camel-consul/src/main/java/org/apache/camel/component/consul/ConsulEndpoint.java
index 2c8a1ec..9bc32d3 100644
--- a/components/camel-consul/src/main/java/org/apache/camel/component/consul/ConsulEndpoint.java
+++ b/components/camel-consul/src/main/java/org/apache/camel/component/consul/ConsulEndpoint.java
@@ -27,11 +27,11 @@ import org.apache.camel.spi.UriParam;
 import org.apache.camel.spi.UriPath;
 import org.apache.camel.util.ObjectHelper;
 
-@UriEndpoint(scheme = "consul", title = "Consul", syntax = "consul://apiEndpoint", label = "api,cloud")
+@UriEndpoint(scheme = "consul", title = "Consul", syntax = "consul:apiEndpoint", label = "api,cloud")
 public class ConsulEndpoint extends DefaultEndpoint {
 
     @UriParam(description = "The consul configuration")
-    @Metadata(required = "true")
+    @Metadata
     private final ConsulConfiguration configuration;
 
     @UriPath(description = "The API endpoint")