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 644928b CAMEL-13406 - camel-pulsar - "|" in endpoint syntax breaks
components adoc table
644928b is described below
commit 644928b6591c2afcab5a1964410b061c38fb585f
Author: Andrea Cosentino <[email protected]>
AuthorDate: Wed Apr 10 11:07:04 2019 +0200
CAMEL-13406 - camel-pulsar - "|" in endpoint syntax breaks components adoc
table
---
components/camel-pulsar/src/main/docs/pulsar-component.adoc | 2 +-
.../src/main/java/org/apache/camel/component/pulsar/PulsarEndpoint.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/components/camel-pulsar/src/main/docs/pulsar-component.adoc
b/components/camel-pulsar/src/main/docs/pulsar-component.adoc
index 9c8324a..10ef1a4 100644
--- a/components/camel-pulsar/src/main/docs/pulsar-component.adoc
+++ b/components/camel-pulsar/src/main/docs/pulsar-component.adoc
@@ -49,7 +49,7 @@ The Apache Pulsar component supports 3 options, which are
listed below.
The Apache Pulsar endpoint is configured using URI syntax:
----
-pulsar:[persistent|non-persistent]://tenant/namespace/topic
+pulsar:persistence://tenant/namespace/topic
----
with the following path and query parameters:
diff --git
a/components/camel-pulsar/src/main/java/org/apache/camel/component/pulsar/PulsarEndpoint.java
b/components/camel-pulsar/src/main/java/org/apache/camel/component/pulsar/PulsarEndpoint.java
index 40f2afc..b232702 100644
---
a/components/camel-pulsar/src/main/java/org/apache/camel/component/pulsar/PulsarEndpoint.java
+++
b/components/camel-pulsar/src/main/java/org/apache/camel/component/pulsar/PulsarEndpoint.java
@@ -28,7 +28,7 @@ import org.apache.camel.support.DefaultEndpoint;
import org.apache.pulsar.client.api.PulsarClient;
import org.apache.pulsar.client.api.PulsarClientException;
-@UriEndpoint(scheme = "pulsar", title = "Apache Pulsar", syntax =
"pulsar:[persistent|non-persistent]://tenant/namespace/topic", label =
"messaging")
+@UriEndpoint(scheme = "pulsar", title = "Apache Pulsar", syntax =
"pulsar:persistence://tenant/namespace/topic", label = "messaging")
public class PulsarEndpoint extends DefaultEndpoint {
private PulsarClient pulsarClient;