You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Hans Orbaan (JIRA)" <ji...@apache.org> on 2015/10/29 14:59:28 UTC

[jira] [Created] (CAMEL-9271) Extending RouteDefinition

Hans Orbaan created CAMEL-9271:
----------------------------------

             Summary: Extending RouteDefinition
                 Key: CAMEL-9271
                 URL: https://issues.apache.org/jira/browse/CAMEL-9271
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
    Affects Versions: 2.16.0
            Reporter: Hans Orbaan
            Priority: Trivial


Extending RouteDefinition gives issues because of 1 line in the ProcessorDefinition. RouteDefinition should be made final or the attached patch is needed. changing:
boolean parentIsRoute = this.getClass().isAssignableFrom(RouteDefinition.class.);
to
boolean parentIsRoute = RouteDefinition.class.isAssignableFrom(this.getClass());




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)