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 15:00:30 UTC

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

     [ https://issues.apache.org/jira/browse/CAMEL-9271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hans Orbaan updated CAMEL-9271:
-------------------------------
    Attachment: ProcessorDefinition-2.16.x.patch

> 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
>         Attachments: ProcessorDefinition-2.16.x.patch
>
>
> 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)