You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/03/04 12:23:00 UTC
[jira] [Updated] (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 ]
Claus Ibsen updated CAMEL-17743:
--------------------------------
Summary: camel-spring-boot - Schema generation fails for Resilience4jConfigurationCommon (was: SB2 Schema generation fails for Resilience4jConfigurationCommon)
> camel-spring-boot - Schema generation fails for Resilience4jConfigurationCommon
> -------------------------------------------------------------------------------
>
> Key: CAMEL-17743
> URL: https://issues.apache.org/jira/browse/CAMEL-17743
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Reporter: John Poth
> Assignee: John Poth
> Priority: Major
>
> 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)