[
https://issues.apache.org/jira/browse/CAMEL-9271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14982009#comment-14982009
]
Claus Ibsen commented on CAMEL-9271:
------------------------------------
End users is not really intended to extend the Camel model classes.
Do you have an use case where you do that?
> 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
> Fix For: 2.17.0
>
> 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)