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

camel-core - IntrospectionSupport isSetter for fluent builder interface returned

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.18.0
    • camel-core
    • None
    • Unknown

    Description

      When a build returns an interface instead of the class itself, then we need to check for that as we dont support this (eg fabric8 kubernetes client)

      if (allowBuilderPattern && parameterCount == 1 && method.getDeclaringClass().isAssignableFrom(type)) {

      when type is an interface we need to check something else

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              davsclaus Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: