John Poth created CAMEL-17744:
---------------------------------
Summary: 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
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)