[
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)