camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [2/3] camel git commit: CAMEL-11206: camel-twitter - The default delay is not used
Date Wed, 26 Apr 2017 19:03:54 GMT
CAMEL-11206: camel-twitter - The default delay is not used


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

Branch: refs/heads/camel-2.18.x
Commit: be678f687d4e2629e4a838ba222321c765c47a63
Parents: 6b10852
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Wed Apr 26 20:57:27 2017 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Wed Apr 26 21:01:59 2017 +0200

----------------------------------------------------------------------
 .../org/apache/camel/component/twitter/TwitterEndpointPolling.java  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/be678f68/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/TwitterEndpointPolling.java
----------------------------------------------------------------------
diff --git a/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/TwitterEndpointPolling.java
b/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/TwitterEndpointPolling.java
index 8c17d1e..f9e7c83 100644
--- a/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/TwitterEndpointPolling.java
+++ b/components/camel-twitter/src/main/java/org/apache/camel/component/twitter/TwitterEndpointPolling.java
@@ -44,6 +44,7 @@ public class TwitterEndpointPolling extends DefaultPollingEndpoint implements
Tw
 
     public TwitterEndpointPolling(String uri, TwitterComponent component, TwitterConfiguration
properties) {
         super(uri, component);
+        setDelay(delay); // reconfigure the default delay
         this.properties = properties;
     }
 


Mime
View raw message