You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2024/10/29 19:10:00 UTC

[jira] [Updated] (CAMEL-21401) camel-core - Custom bean in DSL using factory method should avoid ClassCastException

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

Claus Ibsen updated CAMEL-21401:
--------------------------------
    Fix Version/s: 4.8.2

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