Repository: camel
Updated Branches:
  refs/heads/camel-2.18.x e0c5b1483 -> dd9e89637
  refs/heads/camel-2.19.x 1a23895dd -> 2bef6f213
  refs/heads/master e6bcdba11 -> 1a347d2d9


camel-twitter - Added missing option in component docs


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

Branch: refs/heads/master
Commit: 57ee832779477cc30d10f23c4d7630d66a4200c0
Parents: e6bcdba
Author: Claus Ibsen <davscl...@apache.org>
Authored: Wed Jul 5 10:45:54 2017 +0200
Committer: Claus Ibsen <davscl...@apache.org>
Committed: Wed Jul 5 10:45:54 2017 +0200

----------------------------------------------------------------------
 .../camel-twitter/src/main/docs/twitter-timeline-component.adoc   | 3 ++-
 .../camel/component/twitter/timeline/TwitterTimelineEndpoint.java | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/57ee8327/components/camel-twitter/src/main/docs/twitter-timeline-component.adoc
----------------------------------------------------------------------
diff --git 
a/components/camel-twitter/src/main/docs/twitter-timeline-component.adoc 
b/components/camel-twitter/src/main/docs/twitter-timeline-component.adoc
index 6644d21..9dde987 100644
--- a/components/camel-twitter/src/main/docs/twitter-timeline-component.adoc
+++ b/components/camel-twitter/src/main/docs/twitter-timeline-component.adoc
@@ -44,11 +44,12 @@ with the following path and query parameters:
 | **timelineType** | *Required* The timeline type to produce/consume. |  | 
TimelineType
 |=======================================================================
 
-#### Query Parameters (41 parameters):
+#### Query Parameters (42 parameters):
 
 [width="100%",cols="2,5,^1,2",options="header"]
 |=======================================================================
 | Name | Description | Default | Type
+| **user** (common) | The username when using timelineType=user |  | 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
 | **sendEmptyMessageWhenIdle** (consumer) | If the polling consumer did not 
poll any files you can enable this option to send an empty message (no body) 
instead. | false | boolean
 | **type** (consumer) | Endpoint type to use. Only streaming supports event 
type. | polling | EndpointType

http://git-wip-us.apache.org/repos/asf/camel/blob/57ee8327/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/timeline/TwitterTimelineEndpoint.java
----------------------------------------------------------------------
diff --git 
a/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/timeline/TwitterTimelineEndpoint.java
 
b/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/timeline/TwitterTimelineEndpoint.java
index 32d845d..54b4aa0 100644
--- 
a/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/timeline/TwitterTimelineEndpoint.java
+++ 
b/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/timeline/TwitterTimelineEndpoint.java
@@ -26,6 +26,7 @@ import 
org.apache.camel.component.twitter.consumer.AbstractTwitterConsumerHandle
 import org.apache.camel.component.twitter.data.TimelineType;
 import org.apache.camel.spi.Metadata;
 import org.apache.camel.spi.UriEndpoint;
+import org.apache.camel.spi.UriParam;
 import org.apache.camel.spi.UriPath;
 
 /**
@@ -38,7 +39,7 @@ public class TwitterTimelineEndpoint extends 
AbstractTwitterEndpoint {
     @UriPath(description = "The timeline type to produce/consume.")
     @Metadata(required = "true")
     private TimelineType timelineType;
-
+    @UriParam(description = "The username when using timelineType=user")
     private String user;
 
     public TwitterTimelineEndpoint(String uri, String remaining, String user, 
TwitterTimelineComponent component, TwitterConfiguration properties) {

Reply via email to