camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lburgazz...@apache.org
Subject camel git commit: camel-twitter: alow to get search keywords
Date Mon, 11 Sep 2017 11:49:05 GMT
Repository: camel
Updated Branches:
  refs/heads/master 39992d6c9 -> ce9f8f973


camel-twitter: alow to get search keywords


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

Branch: refs/heads/master
Commit: ce9f8f97326a53d24e39177fcd50fb3026f6ae6e
Parents: 39992d6
Author: lburgazzoli <lburgazzoli@gmail.com>
Authored: Mon Sep 11 13:48:52 2017 +0200
Committer: lburgazzoli <lburgazzoli@gmail.com>
Committed: Mon Sep 11 13:49:00 2017 +0200

----------------------------------------------------------------------
 .../camel/component/twitter/search/TwitterSearchEndpoint.java    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/ce9f8f97/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/search/TwitterSearchEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/search/TwitterSearchEndpoint.java
b/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/search/TwitterSearchEndpoint.java
index 98bfb15..7a4e6f2 100644
--- a/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/search/TwitterSearchEndpoint.java
+++ b/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/search/TwitterSearchEndpoint.java
@@ -25,7 +25,6 @@ import org.apache.camel.component.twitter.TwitterHelper;
 import org.apache.camel.spi.Metadata;
 import org.apache.camel.spi.UriEndpoint;
 import org.apache.camel.spi.UriPath;
-import org.apache.camel.util.ObjectHelper;
 
 /**
  * The Twitter Search component consumes search results.
@@ -53,4 +52,7 @@ public class TwitterSearchEndpoint extends AbstractTwitterEndpoint {
         return TwitterHelper.createConsumer(processor, this, new SearchConsumerHandler(this,
keywords));
     }
 
+    public String getKeywords() {
+        return keywords;
+    }
 }


Mime
View raw message