You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/10/11 11:50:40 UTC
[camel] 03/04: Update javadoc,
generate adoc and PulsarEndpointBuilderFactory
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
commit 8e2025e7aaada21086460237fda34b4b2257a86c
Author: William Thompson <wi...@toasttab.com>
AuthorDate: Thu Oct 10 14:24:57 2019 -0400
Update javadoc, generate adoc and PulsarEndpointBuilderFactory
---
components/camel-pulsar/src/main/docs/pulsar-component.adoc | 2 +-
.../camel/component/pulsar/configuration/PulsarConfiguration.java | 2 +-
.../camel/builder/endpoint/dsl/PulsarEndpointBuilderFactory.java | 3 ++-
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/components/camel-pulsar/src/main/docs/pulsar-component.adoc b/components/camel-pulsar/src/main/docs/pulsar-component.adoc
index 6044f24..d2eb07a 100644
--- a/components/camel-pulsar/src/main/docs/pulsar-component.adoc
+++ b/components/camel-pulsar/src/main/docs/pulsar-component.adoc
@@ -98,7 +98,7 @@ with the following path and query parameters:
| *maxPendingMessagesAcross Partitions* (producer) | Set the number of max pending messages across all the partitions. Default is 50000. | 50000 | int
| *messageRouter* (producer) | Set a custom Message Router. | | MessageRouter
| *messageRoutingMode* (producer) | Set the message routing mode for the producer. | RoundRobinPartition | MessageRoutingMode
-| *producerName* (producer) | Name of the producer, if unset lets Pulsar select a unique identifier | | String
+| *producerName* (producer) | Name of the producer. If unset, lets Pulsar select a unique identifier. | | String
| *sendTimeoutMs* (producer) | Send timeout in milliseconds. Defaults to 30,000ms (30 seconds) | 30000 | int
| *basicPropertyBinding* (advanced) | Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | boolean
| *synchronous* (advanced) | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | false | boolean
diff --git a/components/camel-pulsar/src/main/java/org/apache/camel/component/pulsar/configuration/PulsarConfiguration.java b/components/camel-pulsar/src/main/java/org/apache/camel/component/pulsar/configuration/PulsarConfiguration.java
index e8098be..d6bdcb8 100644
--- a/components/camel-pulsar/src/main/java/org/apache/camel/component/pulsar/configuration/PulsarConfiguration.java
+++ b/components/camel-pulsar/src/main/java/org/apache/camel/component/pulsar/configuration/PulsarConfiguration.java
@@ -136,7 +136,7 @@ public class PulsarConfiguration {
}
/**
- * Name of the producer
+ * Name of the producer. If unset, lets Pulsar select a unique identifier.
*/
public void setProducerName(String producerName) {
this.producerName = producerName;
diff --git a/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/PulsarEndpointBuilderFactory.java b/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/PulsarEndpointBuilderFactory.java
index ace4f65..e5f4f00 100644
--- a/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/PulsarEndpointBuilderFactory.java
+++ b/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/PulsarEndpointBuilderFactory.java
@@ -717,7 +717,8 @@ public interface PulsarEndpointBuilderFactory {
return this;
}
/**
- * Name of the producer.
+ * Name of the producer. If unset, lets Pulsar select a unique
+ * identifier.
*
* The option is a: <code>java.lang.String</code> type.
*