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:55 UTC

[3/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/8166c25b
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/8166c25b
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/8166c25b

Branch: refs/heads/camel-2.17.x
Commit: 8166c25b1b2d2a8aa89f5b9473dc9e4078b0736f
Parents: a8fe438
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:02:55 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/8166c25b/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;
     }