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 2016/11/14 08:14:30 UTC

[4/4] camel git commit: CAMEL-10178 - Fixed component docs

CAMEL-10178 - Fixed component docs


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/e3bc3ced
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/e3bc3ced
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/e3bc3ced

Branch: refs/heads/master
Commit: e3bc3ced52eeb7e4dbf620b9c77c2084c16deb75
Parents: 07f57c3
Author: Andrea Cosentino <an...@gmail.com>
Authored: Mon Nov 14 09:10:52 2016 +0100
Committer: Andrea Cosentino <an...@gmail.com>
Committed: Mon Nov 14 09:10:52 2016 +0100

----------------------------------------------------------------------
 .../pubsub/springboot/GooglePubsubComponentConfiguration.java    | 3 ++-
 .../src/main/docs/google-pubsub-component.adoc                   | 4 ++--
 .../camel/component/google/pubsub/GooglePubsubEndpoint.java      | 4 ++--
 3 files changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/e3bc3ced/components-starter/camel-google-pubsub-starter/src/main/java/org/apache/camel/component/google/pubsub/springboot/GooglePubsubComponentConfiguration.java
----------------------------------------------------------------------
diff --git a/components-starter/camel-google-pubsub-starter/src/main/java/org/apache/camel/component/google/pubsub/springboot/GooglePubsubComponentConfiguration.java b/components-starter/camel-google-pubsub-starter/src/main/java/org/apache/camel/component/google/pubsub/springboot/GooglePubsubComponentConfiguration.java
index e60d01e..9d6ee98 100644
--- a/components-starter/camel-google-pubsub-starter/src/main/java/org/apache/camel/component/google/pubsub/springboot/GooglePubsubComponentConfiguration.java
+++ b/components-starter/camel-google-pubsub-starter/src/main/java/org/apache/camel/component/google/pubsub/springboot/GooglePubsubComponentConfiguration.java
@@ -19,7 +19,8 @@ package org.apache.camel.component.google.pubsub.springboot;
 import org.springframework.boot.context.properties.ConfigurationProperties;
 
 /**
- * PubSub Endpoint Definition
+ * Messaging client for Google Cloud Platform PubSub Service:
+ * https://cloud.google.com/pubsub/
  * 
  * Generated by camel-package-maven-plugin - do not edit this file!
  */

http://git-wip-us.apache.org/repos/asf/camel/blob/e3bc3ced/components/camel-google-pubsub/src/main/docs/google-pubsub-component.adoc
----------------------------------------------------------------------
diff --git a/components/camel-google-pubsub/src/main/docs/google-pubsub-component.adoc b/components/camel-google-pubsub/src/main/docs/google-pubsub-component.adoc
index f26c2b3..38fefef 100644
--- a/components/camel-google-pubsub/src/main/docs/google-pubsub-component.adoc
+++ b/components/camel-google-pubsub/src/main/docs/google-pubsub-component.adoc
@@ -86,10 +86,10 @@ The Google Pubsub component supports 11 endpoint options which are listed below:
 | projectId | common |  | String | *Required* Project Id
 | destinationName | common |  | String | *Required* Destination Name
 | ackMode | common | AUTO | AckMode | AUTO = exchange gets ack'ed/nack'ed on completion. NONE = downstream process has to ack/nack explicitly
-| concurrentConsumers | common |  | Integer | The number of parallel streams consuming from the subscription
+| concurrentConsumers | common | 1 | Integer | The number of parallel streams consuming from the subscription
 | connectionFactory | common |  | GooglePubsubConnectionFactory | ConnectionFactory to obtain connection to PubSub Service. If non provided the default one will be used
 | loggerId | common |  | String | Logger ID to use when a match to the parent route required
-| maxMessagesPerPoll | common |  | Integer | The max number of messages to receive from the server in a single API call
+| maxMessagesPerPoll | common | 1 | Integer | The max number of messages to receive from the server in a single API call
 | bridgeErrorHandler | consumer | false | boolean | 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/ERROR level and ignored.
 | exceptionHandler | consumer (advanced) |  | ExceptionHandler | To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this options is not in use. By default the consumer will deal with exceptions that will be logged at WARN/ERROR level and ignored.
 | exchangePattern | consumer (advanced) |  | ExchangePattern | Sets the exchange pattern when the consumer creates an exchange.

http://git-wip-us.apache.org/repos/asf/camel/blob/e3bc3ced/components/camel-google-pubsub/src/main/java/org/apache/camel/component/google/pubsub/GooglePubsubEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-google-pubsub/src/main/java/org/apache/camel/component/google/pubsub/GooglePubsubEndpoint.java b/components/camel-google-pubsub/src/main/java/org/apache/camel/component/google/pubsub/GooglePubsubEndpoint.java
index 7336704..8163b61 100644
--- a/components/camel-google-pubsub/src/main/java/org/apache/camel/component/google/pubsub/GooglePubsubEndpoint.java
+++ b/components/camel-google-pubsub/src/main/java/org/apache/camel/component/google/pubsub/GooglePubsubEndpoint.java
@@ -56,10 +56,10 @@ public class GooglePubsubEndpoint extends DefaultEndpoint {
     @UriParam(name = "loggerId", description = "Logger ID to use when a match to the parent route required")
     private String loggerId;
 
-    @UriParam(name = "concurrentConsumers", description = "The number of parallel streams consuming from the subscription", defaultValue=1)
+    @UriParam(name = "concurrentConsumers", description = "The number of parallel streams consuming from the subscription", defaultValue = "1")
     private Integer concurrentConsumers = 1;
 
-    @UriParam(name = "maxMessagesPerPoll", description = "The max number of messages to receive from the server in a single API call", defaultValue=1)
+    @UriParam(name = "maxMessagesPerPoll", description = "The max number of messages to receive from the server in a single API call", defaultValue = "1")
     private Integer maxMessagesPerPoll = 1;
 
     @UriParam(name = "connectionFactory", description = "ConnectionFactory to obtain connection to PubSub Service. If non provided the default one will be used")