You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "John Poth (Jira)" <ji...@apache.org> on 2022/03/07 10:21:00 UTC

[jira] [Resolved] (CAMEL-17743) camel-spring-boot - Schema generation fails for Resilience4jConfigurationCommon

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

John Poth resolved CAMEL-17743.
-------------------------------
    Resolution: Fixed

> camel-spring-boot - Schema generation fails for Resilience4jConfigurationCommon
> -------------------------------------------------------------------------------
>
>                 Key: CAMEL-17743
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17743
>             Project: Camel
>          Issue Type: Task
>          Components: camel-core
>    Affects Versions: 3.16.0
>            Reporter: John Poth
>            Assignee: John Poth
>            Priority: Minor
>             Fix For: 3.16.0
>
>
> SB2 schema generation fails for Resilience4jConfigurationDefinition because the javaType is set to [*io.github.resilience4j.circuitbreaker.CircuitBreaker*|https://github.com/apache/camel/blob/6da63c1f884faa0b7981f78c8de0c818f994804e/core/camel-core-model/src/main/java/org/apache/camel/model/Resilience4jConfigurationCommon.java#L31] when [generating|https://github.com/apache/camel/blob/main/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SchemaGeneratorMojo.java#L395] the schema while a String is expected. This also gives a ClassNotFoundException as the type isn't present on the classpath in SB2 starters. Removing the problematic javaTypes for now. Thanks !
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)