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 2018/09/14 13:40:26 UTC

[camel] 03/04: CAMEL-12807 - Fix documentation

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 fd463ab7f6ce18a6bea516393d6d01037de07b64
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Sep 14 15:36:35 2018 +0200

    CAMEL-12807 - Fix documentation
---
 components/camel-paho/src/main/docs/paho-component.adoc               | 4 ++--
 .../src/main/java/org/apache/camel/component/paho/PahoEndpoint.java   | 4 ++++
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/components/camel-paho/src/main/docs/paho-component.adoc b/components/camel-paho/src/main/docs/paho-component.adoc
index 0514235..c70b773 100644
--- a/components/camel-paho/src/main/docs/paho-component.adoc
+++ b/components/camel-paho/src/main/docs/paho-component.adoc
@@ -85,7 +85,7 @@ with the following path and query parameters:
 |===
 
 
-==== Query Parameters (14 parameters):
+==== Query Parameters (15 parameters):
 
 
 [width="100%",cols="2,5,^1,2",options="header"]
@@ -95,11 +95,11 @@ with the following path and query parameters:
 | *brokerUrl* (common) | The URL of the MQTT broker. | tcp://localhost:1883 | String
 | *clientId* (common) | MQTT client identifier. |  | String
 | *connectOptions* (common) | Client connection options |  | MqttConnectOptions
-| *resolveMqttConnectOptions* (common) | Auto Resolve Client connection options | true | boolean
 | *filePersistenceDirectory* (common) | Base directory used by the file persistence provider. |  | String
 | *password* (common) | Password to be used for authentication against the MQTT broker |  | String
 | *persistence* (common) | Client persistence to be used - memory or file. | MEMORY | PahoPersistence
 | *qos* (common) | Client quality of service level (0-2). | 2 | int
+| *resolveMqttConnectOptions* (common) | Define if you don't want to resolve the MQTT Connect Options from registry | true | boolean
 | *retained* (common) | Retain option | false | boolean
 | *userName* (common) | Username to be used for authentication against the MQTT broker |  | String
 | *bridgeErrorHandler* (consumer) | Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. | false | boolean
diff --git a/components/camel-paho/src/main/java/org/apache/camel/component/paho/PahoEndpoint.java b/components/camel-paho/src/main/java/org/apache/camel/component/paho/PahoEndpoint.java
index 6d58751..da08e77 100644
--- a/components/camel-paho/src/main/java/org/apache/camel/component/paho/PahoEndpoint.java
+++ b/components/camel-paho/src/main/java/org/apache/camel/component/paho/PahoEndpoint.java
@@ -314,6 +314,10 @@ public class PahoEndpoint extends DefaultEndpoint {
         return resolveMqttConnectOptions;
     }
 
+    /**
+     * Define if you don't want to resolve the MQTT Connect Options from registry
+     * @param resolveMqttConnectOptions
+     */
     public synchronized void setResolveMqttConnectOptions(boolean resolveMqttConnectOptions) {
         this.resolveMqttConnectOptions = resolveMqttConnectOptions;
     }