This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch camel-2.23.x in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-2.23.x by this push: new e18f7b7 CAMEL-13409 - Fix syntax for nsq component e18f7b7 is described below commit e18f7b7d1d370aa77b43e70922d4c26c66abb2f5 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 | 4 ++-- .../src/main/java/org/apache/camel/component/nsq/NsqEndpoint.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/camel-nsq/src/main/docs/nsq-component.adoc b/components/camel-nsq/src/main/docs/nsq-component.adoc index ef4336b..d357337 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: @@ -109,4 +109,4 @@ The component supports 3 options, which are listed below. | *camel.component.nsq.resolve-property-placeholders* | Whether the component should resolve property placeholders on itself when starting. Only properties which are of String type can use property placeholders. | true | Boolean | *camel.component.nsq.use-global-ssl-context-parameters* | Enable usage of global SSL context parameters. | false | Boolean |=== -// spring-boot-auto-configure options: END \ No newline at end of file +// spring-boot-auto-configure options: END 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 d9e3241..4d98355 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 @@ -37,7 +37,7 @@ import org.apache.camel.util.ObjectHelper; /** * Represents a nsq endpoint. */ -@UriEndpoint(firstVersion = "2.23.0", scheme = "nsq", title = "NSQ", syntax = "nsq:lookupServer", consumerClass = NsqConsumer.class, label = "messaging") +@UriEndpoint(firstVersion = "2.23.0", scheme = "nsq", title = "NSQ", syntax = "nsq:servers", consumerClass = NsqConsumer.class, label = "messaging") public class NsqEndpoint extends DefaultEndpoint { @UriParam