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 2020/05/05 07:50:00 UTC

[jira] [Resolved] (CAMEL-15003) PropertyBindingSupport fails for anonymous classes

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

Claus Ibsen resolved CAMEL-15003.
---------------------------------
    Resolution: Fixed

> PropertyBindingSupport fails for anonymous classes
> --------------------------------------------------
>
>                 Key: CAMEL-15003
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15003
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>            Reporter: Luca Burgazzoli
>            Assignee: Luca Burgazzoli
>            Priority: Minor
>             Fix For: 3.3.0
>
>
> The PropertyBindingSupport::autowireSingletonPropertiesFromRegistry uses Class::getSimpleName to determine the name of a component configurer but in case of a component created using an anonymous class i.e. to override some behaviors, PropertyBindingSupport will fails as  Class::getSimpleName returns an empty string.  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)