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 2016/01/16 12:40:21 UTC

[5/8] camel git commit: camel-hdfs - should extend poll endpoint as the consumer is poll based.

camel-hdfs - should extend poll endpoint as the consumer is poll based.


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

Branch: refs/heads/camel-2.16.x
Commit: 4983a02bbc287f0c6f0887d0d69692a4cf35b460
Parents: 2451f06
Author: Claus Ibsen <da...@apache.org>
Authored: Sat Jan 16 12:23:58 2016 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Sat Jan 16 12:39:43 2016 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/camel/component/hdfs2/HdfsEndpoint.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/4983a02b/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/HdfsEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/HdfsEndpoint.java b/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/HdfsEndpoint.java
index 257670f..a95a903 100644
--- a/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/HdfsEndpoint.java
+++ b/components/camel-hdfs2/src/main/java/org/apache/camel/component/hdfs2/HdfsEndpoint.java
@@ -23,12 +23,12 @@ import org.apache.camel.CamelContext;
 import org.apache.camel.Consumer;
 import org.apache.camel.Processor;
 import org.apache.camel.Producer;
-import org.apache.camel.impl.DefaultEndpoint;
+import org.apache.camel.impl.ScheduledPollEndpoint;
 import org.apache.camel.spi.UriEndpoint;
 import org.apache.camel.spi.UriParam;
 
 @UriEndpoint(scheme = "hdfs2", title = "HDFS2", syntax = "hdfs2:hostName:port/path", consumerClass = HdfsConsumer.class, label = "hadoop,file")
-public class HdfsEndpoint extends DefaultEndpoint {
+public class HdfsEndpoint extends ScheduledPollEndpoint {
 
     @UriParam
     private final HdfsConfiguration config;