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

PropertyBindingSupport fails for anonymous classes

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          Activity

            People

            • Assignee:
              lb Luca Burgazzoli
              Reporter:
              lb Luca Burgazzoli

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment