You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2017/04/26 19:03:54 UTC

[2/3] camel git commit: CAMEL-11206: camel-twitter - The default delay is not used

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 <da...@apache.org>
Authored: Wed Apr 26 20:57:27 2017 +0200
Committer: Claus Ibsen <da...@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;
     }