You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2022/06/19 12:52:49 UTC

[camel] branch camel-3.14.x updated: CAMEL-18202: fix incorrectly setting the initial delay

This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch camel-3.14.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-3.14.x by this push:
     new dfde30c7192 CAMEL-18202: fix incorrectly setting the initial delay
dfde30c7192 is described below

commit dfde30c7192bcb4cd46953ee1785146c2797708c
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Fri Jun 17 10:44:05 2022 +0200

    CAMEL-18202: fix incorrectly setting the initial delay
---
 .../java/org/apache/camel/component/mongodb/gridfs/GridFsEndpoint.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-mongodb-gridfs/src/main/java/org/apache/camel/component/mongodb/gridfs/GridFsEndpoint.java b/components/camel-mongodb-gridfs/src/main/java/org/apache/camel/component/mongodb/gridfs/GridFsEndpoint.java
index 3b47f8f443d..dba3e92631a 100644
--- a/components/camel-mongodb-gridfs/src/main/java/org/apache/camel/component/mongodb/gridfs/GridFsEndpoint.java
+++ b/components/camel-mongodb-gridfs/src/main/java/org/apache/camel/component/mongodb/gridfs/GridFsEndpoint.java
@@ -237,7 +237,7 @@ public class GridFsEndpoint extends DefaultEndpoint {
      * Sets the initialDelay before the consumer will start polling. Default is 1000ms
      */
     public void setInitialDelay(long initialDelay) {
-        this.initialDelay = delay;
+        this.initialDelay = initialDelay;
     }
 
     /**