Repository: camel Updated Branches: refs/heads/master 48c411b2a -> 57299969c
CAMEL-11653 - Use DefaultComponent instead of the deprecated UriEndpointComponent Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/57299969 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/57299969 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/57299969 Branch: refs/heads/master Commit: 57299969c1efaba71f3dd2d9f10e11ecc8bd1f5b Parents: 48c411b Author: Andrea Cosentino <anco...@gmail.com> Authored: Wed Aug 9 10:59:03 2017 +0200 Committer: Andrea Cosentino <anco...@gmail.com> Committed: Wed Aug 9 10:59:03 2017 +0200 ---------------------------------------------------------------------- .../java/org/apache/camel/component/nagios/NagiosComponent.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/57299969/components/camel-nagios/src/main/java/org/apache/camel/component/nagios/NagiosComponent.java ---------------------------------------------------------------------- diff --git a/components/camel-nagios/src/main/java/org/apache/camel/component/nagios/NagiosComponent.java b/components/camel-nagios/src/main/java/org/apache/camel/component/nagios/NagiosComponent.java index 46c4856..b707965 100644 --- a/components/camel-nagios/src/main/java/org/apache/camel/component/nagios/NagiosComponent.java +++ b/components/camel-nagios/src/main/java/org/apache/camel/component/nagios/NagiosComponent.java @@ -20,20 +20,19 @@ import java.net.URI; import java.util.Map; import org.apache.camel.Endpoint; -import org.apache.camel.impl.UriEndpointComponent; +import org.apache.camel.impl.DefaultComponent; import org.apache.camel.spi.Metadata; import org.apache.camel.util.ObjectHelper; /** * @version */ -public class NagiosComponent extends UriEndpointComponent { +public class NagiosComponent extends DefaultComponent { @Metadata(label = "advanced") private NagiosConfiguration configuration; public NagiosComponent() { - super(NagiosEndpoint.class); configuration = new NagiosConfiguration(); }