[
https://issues.apache.org/jira/browse/CAMEL-21401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-21401.
---------------------------------
Resolution: Fixed
> camel-core - Custom bean in DSL using factory method should avoid
> ClassCastException
> ------------------------------------------------------------------------------------
>
> Key: CAMEL-21401
> URL: https://issues.apache.org/jira/browse/CAMEL-21401
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 4.8.2, 4.9.0
>
>
> This can happen if custom beans are using factory-method and has not set a
> factory-class and uses the type name for that; which leads to
> ClassCastException as the result of the factory method can be any kind of
> Object.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)