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/06 02:35:57 UTC
[2/3] 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/52a962ba
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/52a962ba
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/52a962ba
Branch: refs/heads/master
Commit: 52a962ba8a93c67f0fb71f17cec108a5c74a9423
Parents: 8127bbf
Author: Claus Ibsen <da...@apache.org>
Authored: Wed Oct 5 11:53:41 2016 -0400
Committer: Claus Ibsen <da...@apache.org>
Committed: Wed Oct 5 11:53:41 2016 -0400
----------------------------------------------------------------------
.../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/52a962ba/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")