Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-15003

PropertyBindingSupport fails for anonymous classes

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lb Luca Burgazzoli
                Reporter:
                lb Luca Burgazzoli
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: