This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 9282079  CAMEL-13409 - Fix syntax for nsq component
9282079 is described below

commit 92820799ce2e24fdc34378002bfb5036228eb2ab
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Fri Apr 12 09:12:41 2019 +0200

    CAMEL-13409 - Fix syntax for nsq component
---
 components/camel-nsq/src/main/docs/nsq-component.adoc                   | 2 +-
 .../src/main/java/org/apache/camel/component/nsq/NsqEndpoint.java       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/camel-nsq/src/main/docs/nsq-component.adoc 
b/components/camel-nsq/src/main/docs/nsq-component.adoc
index ff35433..73d9557 100644
--- a/components/camel-nsq/src/main/docs/nsq-component.adoc
+++ b/components/camel-nsq/src/main/docs/nsq-component.adoc
@@ -55,7 +55,7 @@ The NSQ component supports 2 options, which are listed below.
 The NSQ endpoint is configured using URI syntax:
 
 ----
-nsq:lookupServer
+nsq:servers
 ----
 
 with the following path and query parameters:
diff --git 
a/components/camel-nsq/src/main/java/org/apache/camel/component/nsq/NsqEndpoint.java
 
b/components/camel-nsq/src/main/java/org/apache/camel/component/nsq/NsqEndpoint.java
index 0a27efb..8448e68 100644
--- 
a/components/camel-nsq/src/main/java/org/apache/camel/component/nsq/NsqEndpoint.java
+++ 
b/components/camel-nsq/src/main/java/org/apache/camel/component/nsq/NsqEndpoint.java
@@ -35,7 +35,7 @@ import org.apache.camel.util.ObjectHelper;
 /**
  * Represents a nsq endpoint.
  */
-@UriEndpoint(firstVersion = "2.23.0", scheme = "nsq", title = "NSQ", syntax = 
"nsq:lookupServer", label = "messaging")
+@UriEndpoint(firstVersion = "2.23.0", scheme = "nsq", title = "NSQ", syntax = 
"nsq:servers", label = "messaging")
 public class NsqEndpoint extends DefaultEndpoint {
 
     @UriParam

Reply via email to