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/04 11:35:00 UTC

[jira] [Commented] (CAMEL-17744) SB actuator-http-metrics example fails

    [ https://issues.apache.org/jira/browse/CAMEL-17744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17501282#comment-17501282 ] 

John Poth commented on CAMEL-17744:
-----------------------------------

Resolved with https://github.com/apache/camel-spring-boot/commit/07b410a73855b4ecced4de2bb675466bd53ec5d2

> SB actuator-http-metrics example fails
> --------------------------------------
>
>                 Key: CAMEL-17744
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17744
>             Project: Camel
>          Issue Type: Bug
>          Components: examples
>            Reporter: John Poth
>            Assignee: John Poth
>            Priority: Major
>
> Running the example from scratch gives:
> {code:java}
> Caused by: java.lang.IllegalArgumentException: Cannot configure option [apiContextListing] with value [false] as the bean class [org.apache.camel.spi.RestConfiguration] has no suitable setter method, or not possible to lookup a bean with the id [false] in Spring Boot registry
>         at org.apache.camel.spring.boot.util.CamelPropertiesHelper.setCamelProperties(CamelPropertiesHelper.java:125) ~[camel-spring-boot-3.16.0-SNAPSHOT.jar:3.16.0-SNAPSHOT]
>         at org.apache.camel.model.rest.springboot.RestConfigurationDefinitionAutoConfiguration.configureRestConfigurationDefinition(RestConfigurationDefinitionAutoConfiguration.java:72) ~[camel-core-starter-3.16.0-SNAPSHOT.jar:3.16.0-SNAPSHOT]
>         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
>         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:na]
>         at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
>         at java.base/java.lang.reflect.Method.invoke(Method.java:566) ~[na:na]
>         at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) ~[spring-beans-5.3.16.jar:5.3.16]
>         ... 37 common frames omitted
> {code}



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