Claus Ibsen created CAMEL-18228:
-----------------------------------
Summary: camel-core - IntrospectionSupport isSetter for fluent
builder interface returned
Key: CAMEL-18228
URL: https://issues.apache.org/jira/browse/CAMEL-18228
Project: Camel
Issue Type: Improvement
Components: camel-core
Reporter: Claus Ibsen
Fix For: 3.18.0
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
--
This message was sent by Atlassian Jira
(v8.20.7#820007)