You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2020/05/18 11:09:30 UTC

[camel-spring-boot] branch master updated (f9e66e0 -> 067110a)

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git.


    from f9e66e0  Camel-example-spring-boot-xml: Fixed tests by adding camel-management as test dep
     new 8745b33  CAMEL-15045: Allow to configure route startup logging level. For example if you have 100+ routes it may be annoying with a log per route.
     new 067110a  CAMEL-15077: camel-spring-boot - Remove actuator for endpoint details

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../src/main/docs/spring-boot.adoc                 |   5 -
 .../spring/boot/CamelConfigurationProperties.java  |   7 +
 .../endpoint/CamelRouteControllerEndpoint.java     |  54 ---
 ...elRouteControllerEndpointAutoConfiguration.java |  44 --
 .../boot/actuate/endpoint/CamelRoutesEndpoint.java | 533 ---------------------
 .../CamelRoutesEndpointAutoConfiguration.java      |  54 ---
 .../endpoint/CamelRoutesEndpointProperties.java    |  34 --
 .../additional-spring-configuration-metadata.json  |  18 -
 .../src/main/resources/META-INF/spring.factories   |   2 -
 .../CamelEndpointsGloballyDisabledTest.java        |  47 --
 .../CamelRouteControllerEndpointDisabledTest.java  |  55 ---
 ...erEndpointGloballyDisabledAndReenabledTest.java |  61 ---
 .../endpoint/CamelRouteControllerEndpointTest.java |  61 ---
 .../endpoint/CamelRoutesEndpointDisabledTest.java  |  55 ---
 ...esEndpointGloballyDisabledAndReenabledTest.java |  61 ---
 .../actuate/endpoint/CamelRoutesEndpointTest.java  |  88 ----
 .../CamelRoutesEndpointWriteOperationTest.java     |  79 ---
 .../readme.adoc                                    |  14 -
 .../src/main/resources/application.properties      |  10 +-
 .../camel-example-spring-boot-fhir/readme.adoc     |  16 -
 .../src/main/resources/application.properties      |   8 +-
 .../readme.adoc                                    |  33 +-
 .../main/java/sample/camel/ApplicationRoutes.java  |   1 +
 .../src/main/resources/application.properties      |  14 +-
 examples/camel-example-spring-boot/readme.adoc     |  12 +-
 .../src/main/resources/application.properties      |   7 +-
 26 files changed, 33 insertions(+), 1340 deletions(-)
 delete mode 100644 core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRouteControllerEndpoint.java
 delete mode 100644 core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRouteControllerEndpointAutoConfiguration.java
 delete mode 100644 core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRoutesEndpoint.java
 delete mode 100644 core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRoutesEndpointAutoConfiguration.java
 delete mode 100644 core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRoutesEndpointProperties.java
 delete mode 100644 core/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/actuate/endpoint/CamelEndpointsGloballyDisabledTest.java
 delete mode 100644 core/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRouteControllerEndpointDisabledTest.java
 delete mode 100644 core/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRouteControllerEndpointGloballyDisabledAndReenabledTest.java
 delete mode 100644 core/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRouteControllerEndpointTest.java
 delete mode 100644 core/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRoutesEndpointDisabledTest.java
 delete mode 100644 core/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRoutesEndpointGloballyDisabledAndReenabledTest.java
 delete mode 100644 core/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRoutesEndpointTest.java
 delete mode 100644 core/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRoutesEndpointWriteOperationTest.java


[camel-spring-boot] 02/02: CAMEL-15077: camel-spring-boot - Remove actuator for endpoint details

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git

commit 067110a55a2950f4c771698d063270b234126540
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon May 18 13:08:39 2020 +0200

    CAMEL-15077: camel-spring-boot - Remove actuator for endpoint details
---
 .../src/main/docs/spring-boot.adoc                 |   5 -
 .../endpoint/CamelRouteControllerEndpoint.java     |  54 ---
 ...elRouteControllerEndpointAutoConfiguration.java |  44 --
 .../boot/actuate/endpoint/CamelRoutesEndpoint.java | 533 ---------------------
 .../CamelRoutesEndpointAutoConfiguration.java      |  54 ---
 .../endpoint/CamelRoutesEndpointProperties.java    |  34 --
 .../additional-spring-configuration-metadata.json  |  18 -
 .../src/main/resources/META-INF/spring.factories   |   2 -
 .../CamelEndpointsGloballyDisabledTest.java        |  47 --
 .../CamelRouteControllerEndpointDisabledTest.java  |  55 ---
 ...erEndpointGloballyDisabledAndReenabledTest.java |  61 ---
 .../endpoint/CamelRouteControllerEndpointTest.java |  61 ---
 .../endpoint/CamelRoutesEndpointDisabledTest.java  |  55 ---
 ...esEndpointGloballyDisabledAndReenabledTest.java |  61 ---
 .../actuate/endpoint/CamelRoutesEndpointTest.java  |  88 ----
 .../CamelRoutesEndpointWriteOperationTest.java     |  79 ---
 .../readme.adoc                                    |  14 -
 .../src/main/resources/application.properties      |  10 +-
 .../camel-example-spring-boot-fhir/readme.adoc     |  16 -
 .../src/main/resources/application.properties      |   8 +-
 .../readme.adoc                                    |  33 +-
 .../main/java/sample/camel/ApplicationRoutes.java  |   1 +
 .../src/main/resources/application.properties      |  14 +-
 examples/camel-example-spring-boot/readme.adoc     |  12 +-
 .../src/main/resources/application.properties      |   7 +-
 25 files changed, 26 insertions(+), 1340 deletions(-)

diff --git a/core/camel-spring-boot/src/main/docs/spring-boot.adoc b/core/camel-spring-boot/src/main/docs/spring-boot.adoc
index 6e77476..4703c47 100644
--- a/core/camel-spring-boot/src/main/docs/spring-boot.adoc
+++ b/core/camel-spring-boot/src/main/docs/spring-boot.adoc
@@ -234,11 +234,6 @@ The component supports 145 options, which are listed below.
 | *camel.supervising.controller.enabled* | Global option to enable/disable this org.apache.camel.spi.RouteController, default is false. | false | Boolean
 | *camel.supervising.controller.initial-delay* | Set the amount of time the route controller should wait before to start the routes after the camel context is started or after the route is initialized if the route is created after the camel context is started. |  | String
 | *camel.supervising.controller.routes* | Routes configuration. |  | Map
-| *management.endpoint.camelroutecontroller.cache.time-to-live* | Maximum time that a response can be cached. | 0ms | Duration
-| *management.endpoint.camelroutecontroller.enabled* | To turn on or off information about Camel Route Controller via actuator endpoint. | true | Boolean
-| *management.endpoint.camelroutes.cache.time-to-live* | Maximum time that a response can be cached. | 0ms | Duration
-| *management.endpoint.camelroutes.enabled* | To turn on or off information about Camel Routes via actuator endpoint. | true | Boolean
-| *management.endpoint.camelroutes.read-only* | Whether Camel Routes actuator is in read-only mode. If not in read-only mode then operations to start/stop routes would be enabled. | true | Boolean
 | *management.info.camel.enabled* | Whether to enable Camel info. | true | Boolean
 | *management.info.camel.verbose* | Global option to enable/disable  health bean camel version info, default is true. | true | Boolean
 |===
diff --git a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRouteControllerEndpoint.java b/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRouteControllerEndpoint.java
deleted file mode 100644
index 6afa43b..0000000
--- a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRouteControllerEndpoint.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.spring.boot.actuate.endpoint;
-
-import java.util.Collections;
-import java.util.List;
-import java.util.stream.Collectors;
-
-import org.apache.camel.CamelContext;
-import org.apache.camel.Route;
-import org.apache.camel.spi.RouteController;
-import org.springframework.boot.actuate.endpoint.annotation.Endpoint;
-import org.springframework.boot.actuate.endpoint.annotation.ReadOperation;
-
-/**
- * {@link Endpoint} to expose {@link RouteController} information.
- */
-@Endpoint(id = "camelroutecontroller", enableByDefault = true)
-public class CamelRouteControllerEndpoint {
-
-    private CamelContext camelContext;
-
-    public CamelRouteControllerEndpoint(CamelContext camelContext) {
-        this.camelContext = camelContext;
-    }
-
-    @ReadOperation
-    public List<String> getControlledRoutes() {
-        RouteController controller = camelContext.getRouteController();
-
-        if (controller != null) {
-            return controller.getControlledRoutes().stream()
-                .map(Route::getId)
-                .collect(Collectors.toList());
-        }
-
-        return Collections.emptyList();
-    }
-
-}
diff --git a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRouteControllerEndpointAutoConfiguration.java b/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRouteControllerEndpointAutoConfiguration.java
deleted file mode 100644
index 00bf60f..0000000
--- a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRouteControllerEndpointAutoConfiguration.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.spring.boot.actuate.endpoint;
-
-import org.apache.camel.CamelContext;
-import org.apache.camel.spring.boot.CamelAutoConfiguration;
-import org.springframework.boot.actuate.autoconfigure.endpoint.condition.ConditionalOnEnabledEndpoint;
-import org.springframework.boot.autoconfigure.AutoConfigureAfter;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-import org.springframework.context.annotation.Bean;
-import org.springframework.context.annotation.Configuration;
-
-/**
- * Auto configuration for the {@link CamelRouteControllerEndpoint}.
- */
-@Configuration(proxyBeanMethods = false)
-@ConditionalOnClass({CamelRouteControllerEndpoint.class})
-@ConditionalOnBean(CamelAutoConfiguration.class)
-@AutoConfigureAfter(CamelAutoConfiguration.class)
-public class CamelRouteControllerEndpointAutoConfiguration {
-    @Bean
-    @ConditionalOnClass(CamelContext.class)
-    @ConditionalOnMissingBean
-    @ConditionalOnEnabledEndpoint
-    public CamelRouteControllerEndpoint routeControllerEndpoint(CamelContext camelContext) {
-        return new CamelRouteControllerEndpoint(camelContext);
-    }
-}
diff --git a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRoutesEndpoint.java b/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRoutesEndpoint.java
deleted file mode 100644
index 5d659e7..0000000
--- a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRoutesEndpoint.java
+++ /dev/null
@@ -1,533 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.spring.boot.actuate.endpoint;
-
-import java.util.Collections;
-import java.util.Date;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-import java.util.Optional;
-import java.util.concurrent.TimeUnit;
-import java.util.stream.Collectors;
-
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.annotation.JsonPropertyOrder;
-import org.apache.camel.CamelContext;
-import org.apache.camel.ExtendedCamelContext;
-import org.apache.camel.Route;
-import org.apache.camel.RuntimeCamelException;
-import org.apache.camel.StatefulService;
-import org.apache.camel.api.management.ManagedCamelContext;
-import org.apache.camel.api.management.mbean.ManagedRouteMBean;
-import org.apache.camel.api.management.mbean.RouteError;
-import org.apache.camel.model.Model;
-import org.apache.camel.model.RouteDefinition;
-import org.apache.camel.spi.ModelToXMLDumper;
-import org.springframework.boot.actuate.endpoint.annotation.Endpoint;
-import org.springframework.boot.actuate.endpoint.annotation.ReadOperation;
-import org.springframework.boot.actuate.endpoint.annotation.Selector;
-import org.springframework.boot.actuate.endpoint.annotation.WriteOperation;
-import org.springframework.lang.Nullable;
-
-/**
- * {@link Endpoint} to expose {@link org.apache.camel.Route} information.
- */
-@Endpoint(id = "camelroutes", enableByDefault = true)
-public class CamelRoutesEndpoint {
-
-    private CamelContext camelContext;
-    private CamelRoutesEndpointProperties properties;
-
-    public CamelRoutesEndpoint(CamelContext camelContext, CamelRoutesEndpointProperties properties) {
-        this.camelContext = camelContext;
-        this.properties = properties;
-    }
-
-    @ReadOperation
-    public List<RouteEndpointInfo> readRoutes() {
-        return getRoutesInfo();
-    }
-
-    @ReadOperation
-    public Object doReadAction(@Selector String id, @Selector ReadAction action) {
-        switch (action) {
-        case DETAIL:
-            return getRouteDetailsInfo(id);
-        case INFO:
-            return getRouteInfo(id);
-        default:
-            throw new IllegalArgumentException("Unsupported read action " + action);
-        }
-    }
-
-    @WriteOperation
-    public void doWriteAction(@Selector String id, @Selector WriteAction action, @Nullable TimeInfo timeInfo) {
-        if (this.properties.isReadOnly()) {
-            throw new IllegalArgumentException(String.format("Read only: write action %s is not allowed", action));
-        }
-
-        switch (action) {
-        case STOP:
-            stopRoute(
-                    id,
-                    Optional.ofNullable(timeInfo).flatMap(ti -> Optional.ofNullable(ti.getTimeout())),
-                    Optional.of(TimeUnit.SECONDS),
-                    Optional.ofNullable(timeInfo).flatMap(ti -> Optional.ofNullable(ti.getAbortAfterTimeout())));
-            break;
-        case START:
-            startRoute(id);
-            break;
-        case RESET:
-            resetRoute(id);
-            break;
-        case SUSPEND:
-            suspendRoute(id,
-                    Optional.ofNullable(timeInfo).flatMap(ti -> Optional.ofNullable(ti.getTimeout())),
-                    Optional.of(TimeUnit.SECONDS));
-            break;
-        case RESUME:
-            resumeRoute(id);
-            break;
-        default:
-            throw new IllegalArgumentException("Unsupported write action " + action);
-        }
-    }
-
-    @WriteOperation
-    public String getRouteDump(@Selector String id) {
-        if (this.properties.isReadOnly()) {
-            throw new IllegalArgumentException("Read only: route dump is not permitted in read-only mode");
-        }
-
-        RouteDefinition route = camelContext.getExtension(Model.class).getRouteDefinition(id);
-        if (route != null) {
-            try {
-                ExtendedCamelContext extendedCamelContext = camelContext.adapt(ExtendedCamelContext.class);
-                ModelToXMLDumper dumper = extendedCamelContext.getModelToXMLDumper();
-                return dumper.dumpModelAsXml(camelContext, route);
-            } catch (Exception e) {
-                throw RuntimeCamelException.wrapRuntimeCamelException(e);
-            }
-        }
-        return null;
-    }
-
-    private RouteEndpointInfo getRouteInfo(String id) {
-        Route route = camelContext.getRoute(id);
-        if (route != null) {
-            return new RouteEndpointInfo(route);
-        }
-
-        return null;
-    }
-
-    private List<RouteEndpointInfo> getRoutesInfo() {
-        return camelContext.getRoutes().stream()
-                .map(RouteEndpointInfo::new)
-                .collect(Collectors.toList());
-    }
-
-    private RouteDetailsEndpointInfo getRouteDetailsInfo(String id) {
-        Route route = camelContext.getRoute(id);
-        if (route != null) {
-            return new RouteDetailsEndpointInfo(camelContext, route);
-        }
-
-        return null;
-    }
-
-    private void startRoute(String id) {
-        try {
-            camelContext.getRouteController().startRoute(id);
-        } catch (Exception e) {
-            throw new RuntimeCamelException(e);
-        }
-    }
-
-    private void resetRoute(String id) {
-        try {
-            ManagedCamelContext mc = camelContext.getExtension(ManagedCamelContext.class);
-            if (mc != null) {
-                ManagedRouteMBean managedRouteMBean = mc.getManagedRoute(id);
-                if (managedRouteMBean != null) {
-                    managedRouteMBean.reset(true);
-                }
-            }
-        } catch (Exception e) {
-            throw new RuntimeCamelException(e);
-        }
-    }
-
-    private void stopRoute(String id, Optional<Long> timeout, Optional<TimeUnit> timeUnit, Optional<Boolean> abortAfterTimeout) {
-        try {
-            if (timeout.isPresent()) {
-                camelContext.getRouteController().stopRoute(id, timeout.get(), timeUnit.orElse(TimeUnit.SECONDS), abortAfterTimeout.orElse(Boolean.TRUE));
-            } else {
-                camelContext.getRouteController().stopRoute(id);
-            }
-        } catch (Exception e) {
-            throw new RuntimeCamelException(e);
-        }
-    }
-
-    private void suspendRoute(String id, Optional<Long> timeout, Optional<TimeUnit> timeUnit) {
-        try {
-            if (timeout.isPresent()) {
-                camelContext.getRouteController().suspendRoute(id, timeout.get(), timeUnit.orElse(TimeUnit.SECONDS));
-            } else {
-                camelContext.getRouteController().suspendRoute(id);
-            }
-        } catch (Exception e) {
-            throw new RuntimeCamelException(e);
-        }
-    }
-
-    private void resumeRoute(String id) {
-        try {
-            camelContext.getRouteController().resumeRoute(id);
-        } catch (Exception e) {
-            throw new RuntimeCamelException(e);
-        }
-    }
-
-    /**
-     * Container for exposing {@link org.apache.camel.Route} information as JSON.
-     */
-    @JsonPropertyOrder({"id", "group", "description", "uptime", "uptimeMillis"})
-    @JsonInclude(JsonInclude.Include.NON_EMPTY)
-    public static class RouteEndpointInfo {
-
-        private final String id;
-        
-        private final String group;
-
-        private final Map<String, Object> properties;
-
-        private final String description;
-
-        private final String uptime;
-
-        private final long uptimeMillis;
-
-        private final String status;
-
-        public RouteEndpointInfo(Route route) {
-            this.id = route.getId();
-            this.group = route.getGroup();
-            this.description = route.getDescription();
-            this.uptime = route.getUptime();
-            this.uptimeMillis = route.getUptimeMillis();
-
-            if (route.getProperties() != null) {
-                this.properties = new HashMap<>(route.getProperties());
-            } else {
-                this.properties = Collections.emptyMap();
-            }
-
-            if (route instanceof StatefulService) {
-                this.status = ((StatefulService) route).getStatus().name();
-            } else {
-                this.status = null;
-            }
-        }
-
-        public String getId() {
-            return id;
-        }
-        
-        public String getGroup() {
-            return group;
-        }
-
-        public Map<String, Object> getProperties() {
-            return properties;
-        }
-
-        public String getDescription() {
-            return description;
-        }
-
-        public String getUptime() {
-            return uptime;
-        }
-
-        public long getUptimeMillis() {
-            return uptimeMillis;
-        }
-
-        public String getStatus() {
-            return status;
-        }
-    }
-
-    /**
-     * Container for exposing {@link org.apache.camel.Route} information
-     * with route details as JSON. Route details are retrieved from JMX.
-     */
-    public static class RouteDetailsEndpointInfo extends RouteEndpointInfo {
-
-        @JsonProperty("details")
-        private RouteDetails routeDetails;
-
-        public RouteDetailsEndpointInfo(final CamelContext camelContext, final Route route) {
-            super(route);
-
-            if (camelContext.getManagementStrategy().getManagementAgent() != null) {
-                this.routeDetails = new RouteDetails(camelContext.getExtension(ManagedCamelContext.class).getManagedRoute(route.getId()));
-            }
-        }
-
-        @JsonInclude(JsonInclude.Include.NON_EMPTY)
-        static class RouteDetails {
-
-            private long deltaProcessingTime;
-
-            private long exchangesInflight;
-
-            private long exchangesTotal;
-
-            private long externalRedeliveries;
-
-            private long failuresHandled;
-
-            private String firstExchangeCompletedExchangeId;
-
-            private Date firstExchangeCompletedTimestamp;
-
-            private String firstExchangeFailureExchangeId;
-
-            private Date firstExchangeFailureTimestamp;
-
-            private String lastExchangeCompletedExchangeId;
-
-            private Date lastExchangeCompletedTimestamp;
-
-            private String lastExchangeFailureExchangeId;
-
-            private Date lastExchangeFailureTimestamp;
-
-            private long lastProcessingTime;
-
-            private String load01;
-
-            private String load05;
-
-            private String load15;
-
-            private long maxProcessingTime;
-
-            private long meanProcessingTime;
-
-            private long minProcessingTime;
-
-            private Long oldestInflightDuration;
-
-            private String oldestInflightExchangeId;
-
-            private long redeliveries;
-
-            private long totalProcessingTime;
-
-            private RouteError lastError;
-
-            private boolean hasRouteController;
-
-            RouteDetails(ManagedRouteMBean managedRoute) {
-                try {
-                    this.deltaProcessingTime = managedRoute.getDeltaProcessingTime();
-                    this.exchangesInflight = managedRoute.getExchangesInflight();
-                    this.exchangesTotal = managedRoute.getExchangesTotal();
-                    this.externalRedeliveries = managedRoute.getExternalRedeliveries();
-                    this.failuresHandled = managedRoute.getFailuresHandled();
-                    this.firstExchangeCompletedExchangeId = managedRoute.getFirstExchangeCompletedExchangeId();
-                    this.firstExchangeCompletedTimestamp = managedRoute.getFirstExchangeCompletedTimestamp();
-                    this.firstExchangeFailureExchangeId = managedRoute.getFirstExchangeFailureExchangeId();
-                    this.firstExchangeFailureTimestamp = managedRoute.getFirstExchangeFailureTimestamp();
-                    this.lastExchangeCompletedExchangeId = managedRoute.getLastExchangeCompletedExchangeId();
-                    this.lastExchangeCompletedTimestamp = managedRoute.getLastExchangeCompletedTimestamp();
-                    this.lastExchangeFailureExchangeId = managedRoute.getLastExchangeFailureExchangeId();
-                    this.lastExchangeFailureTimestamp = managedRoute.getLastExchangeFailureTimestamp();
-                    this.lastProcessingTime = managedRoute.getLastProcessingTime();
-                    this.load01 = managedRoute.getLoad01();
-                    this.load05 = managedRoute.getLoad05();
-                    this.load15 = managedRoute.getLoad15();
-                    this.maxProcessingTime = managedRoute.getMaxProcessingTime();
-                    this.meanProcessingTime = managedRoute.getMeanProcessingTime();
-                    this.minProcessingTime = managedRoute.getMinProcessingTime();
-                    this.oldestInflightDuration = managedRoute.getOldestInflightDuration();
-                    this.oldestInflightExchangeId = managedRoute.getOldestInflightExchangeId();
-                    this.redeliveries = managedRoute.getRedeliveries();
-                    this.totalProcessingTime = managedRoute.getTotalProcessingTime();
-                    this.lastError = managedRoute.getLastError();
-                    this.hasRouteController = managedRoute.getHasRouteController();
-                } catch (Exception e) {
-                    // Ignore
-                }
-            }
-
-            public long getDeltaProcessingTime() {
-                return deltaProcessingTime;
-            }
-
-            public long getExchangesInflight() {
-                return exchangesInflight;
-            }
-
-            public long getExchangesTotal() {
-                return exchangesTotal;
-            }
-
-            public long getExternalRedeliveries() {
-                return externalRedeliveries;
-            }
-
-            public long getFailuresHandled() {
-                return failuresHandled;
-            }
-
-            public String getFirstExchangeCompletedExchangeId() {
-                return firstExchangeCompletedExchangeId;
-            }
-
-            public Date getFirstExchangeCompletedTimestamp() {
-                return firstExchangeCompletedTimestamp;
-            }
-
-            public String getFirstExchangeFailureExchangeId() {
-                return firstExchangeFailureExchangeId;
-            }
-
-            public Date getFirstExchangeFailureTimestamp() {
-                return firstExchangeFailureTimestamp;
-            }
-
-            public String getLastExchangeCompletedExchangeId() {
-                return lastExchangeCompletedExchangeId;
-            }
-
-            public Date getLastExchangeCompletedTimestamp() {
-                return lastExchangeCompletedTimestamp;
-            }
-
-            public String getLastExchangeFailureExchangeId() {
-                return lastExchangeFailureExchangeId;
-            }
-
-            public Date getLastExchangeFailureTimestamp() {
-                return lastExchangeFailureTimestamp;
-            }
-
-            public long getLastProcessingTime() {
-                return lastProcessingTime;
-            }
-
-            public String getLoad01() {
-                return load01;
-            }
-
-            public String getLoad05() {
-                return load05;
-            }
-
-            public String getLoad15() {
-                return load15;
-            }
-
-            public long getMaxProcessingTime() {
-                return maxProcessingTime;
-            }
-
-            public long getMeanProcessingTime() {
-                return meanProcessingTime;
-            }
-
-            public long getMinProcessingTime() {
-                return minProcessingTime;
-            }
-
-            public Long getOldestInflightDuration() {
-                return oldestInflightDuration;
-            }
-
-            public String getOldestInflightExchangeId() {
-                return oldestInflightExchangeId;
-            }
-
-            public long getRedeliveries() {
-                return redeliveries;
-            }
-
-            public long getTotalProcessingTime() {
-                return totalProcessingTime;
-            }
-
-            public RouteError getLastError() {
-                return lastError;
-            }
-
-            public boolean getHasRouteController() {
-                return hasRouteController;
-            }
-        }
-    }
-
-    /**
-     * List of write actions available for the endpoint
-     */
-    public enum WriteAction {
-        STOP,
-        START,
-        RESET,
-        SUSPEND,
-        RESUME
-    }
-
-    /*
-     * List of read actions available for the endpoint
-     */
-    public enum ReadAction {
-        DETAIL,
-        INFO
-    }
-
-    /**
-     * Optional time information for the actions
-     */
-    public static class TimeInfo {
-        private Long timeout;
-        private Boolean abortAfterTimeout;
-
-        public Long getTimeout() {
-            return timeout;
-        }
-
-        public void setTimeout(Long timeout) {
-            this.timeout = timeout;
-        }
-
-        public Boolean getAbortAfterTimeout() {
-            return abortAfterTimeout;
-        }
-
-        public void setAbortAfterTimeout(Boolean abortAfterTimeout) {
-            this.abortAfterTimeout = abortAfterTimeout;
-        }
-    }
-
-}
diff --git a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRoutesEndpointAutoConfiguration.java b/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRoutesEndpointAutoConfiguration.java
deleted file mode 100644
index 6390ee5..0000000
--- a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRoutesEndpointAutoConfiguration.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.spring.boot.actuate.endpoint;
-
-import org.apache.camel.CamelContext;
-import org.apache.camel.spring.boot.CamelAutoConfiguration;
-import org.springframework.boot.actuate.autoconfigure.endpoint.condition.ConditionalOnEnabledEndpoint;
-import org.springframework.boot.autoconfigure.AutoConfigureAfter;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
-import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
-import org.springframework.boot.context.properties.EnableConfigurationProperties;
-import org.springframework.context.annotation.Bean;
-import org.springframework.context.annotation.Configuration;
-
-/**
- * Auto configuration for the {@link CamelRoutesEndpoint}.
- */
-@Configuration(proxyBeanMethods = false)
-@EnableConfigurationProperties({ CamelRoutesEndpointProperties.class })
-@ConditionalOnClass({CamelRoutesEndpoint.class})
-@ConditionalOnBean(CamelAutoConfiguration.class)
-@AutoConfigureAfter(CamelAutoConfiguration.class)
-public class CamelRoutesEndpointAutoConfiguration {
-
-    private CamelRoutesEndpointProperties properties;
-
-    public CamelRoutesEndpointAutoConfiguration(CamelRoutesEndpointProperties properties) {
-        this.properties = properties;
-    }
-
-    @Bean
-    @ConditionalOnClass(CamelContext.class)
-    @ConditionalOnMissingBean
-    @ConditionalOnEnabledEndpoint
-    public CamelRoutesEndpoint camelEndpoint(CamelContext camelContext) {
-        return new CamelRoutesEndpoint(camelContext, properties);
-    }
-
-}
diff --git a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRoutesEndpointProperties.java b/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRoutesEndpointProperties.java
deleted file mode 100644
index 1fc91e0..0000000
--- a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRoutesEndpointProperties.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.spring.boot.actuate.endpoint;
-
-import org.springframework.boot.context.properties.ConfigurationProperties;
-
-@ConfigurationProperties("management.endpoint.camelroutes")
-public class CamelRoutesEndpointProperties {
-
-    private boolean readOnly = true;
-
-    public boolean isReadOnly() {
-        return readOnly;
-    }
-
-    public void setReadOnly(boolean readOnly) {
-        this.readOnly = readOnly;
-    }
-
-}
diff --git a/core/camel-spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/core/camel-spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json
index cf56bd1..d1fb7f9 100644
--- a/core/camel-spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json
+++ b/core/camel-spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json
@@ -1,24 +1,6 @@
 {
   "properties": [
     {
-      "name": "management.endpoint.camelroutes.read-only",
-      "type": "java.lang.Boolean",
-      "description": "Whether Camel Routes actuator is in read-only mode. If not in read-only mode then operations to start/stop routes would be enabled.",
-      "defaultValue": true
-    },
-    {
-      "name": "management.endpoint.camelroutes.enabled",
-      "type": "java.lang.Boolean",
-      "description": "To turn on or off information about Camel Routes via actuator endpoint.",
-      "defaultValue": true
-    },
-    {
-      "name": "management.endpoint.camelroutecontroller.enabled",
-      "type": "java.lang.Boolean",
-      "description": "To turn on or off information about Camel Route Controller via actuator endpoint.",
-      "defaultValue": true
-    },
-    {
       "name": "management.info.camel.enabled",
       "type": "java.lang.Boolean",
       "description": "Whether to enable Camel info.",
diff --git a/core/camel-spring-boot/src/main/resources/META-INF/spring.factories b/core/camel-spring-boot/src/main/resources/META-INF/spring.factories
index 7b874c7..24153ff 100644
--- a/core/camel-spring-boot/src/main/resources/META-INF/spring.factories
+++ b/core/camel-spring-boot/src/main/resources/META-INF/spring.factories
@@ -33,8 +33,6 @@
 
 org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
 org.apache.camel.spring.boot.CamelAutoConfiguration,\
-org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesEndpointAutoConfiguration,\
-org.apache.camel.spring.boot.actuate.endpoint.CamelRouteControllerEndpointAutoConfiguration,\
 org.apache.camel.spring.boot.actuate.health.CamelHealthAutoConfiguration,\
 org.apache.camel.spring.boot.actuate.info.CamelInfoAutoConfiguration,\
 org.apache.camel.spring.boot.cloud.CamelCloudAutoConfiguration,\
diff --git a/core/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/actuate/endpoint/CamelEndpointsGloballyDisabledTest.java b/core/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/actuate/endpoint/CamelEndpointsGloballyDisabledTest.java
deleted file mode 100644
index 4f2f7bf..0000000
--- a/core/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/actuate/endpoint/CamelEndpointsGloballyDisabledTest.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.spring.boot.actuate.endpoint;
-
-import org.apache.camel.spring.boot.CamelAutoConfiguration;
-import org.junit.Assert;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.boot.test.context.SpringBootTest;
-import org.springframework.test.annotation.DirtiesContext;
-import org.springframework.test.context.junit4.SpringRunner;
-
-@DirtiesContext
-@RunWith(SpringRunner.class)
-@SpringBootTest(
-    classes = {CamelAutoConfiguration.class, CamelRouteControllerEndpointAutoConfiguration.class,
-               CamelRoutesEndpointAutoConfiguration.class},
-    properties = {"management.endpoints.enabled-by-default = false"}
-)
-public class CamelEndpointsGloballyDisabledTest {
-    @Autowired(required = false)
-    private CamelRouteControllerEndpoint routeControllerEndpoint;
-
-    @Autowired(required = false)
-    private CamelRoutesEndpoint routesEndpoint;
-
-    @Test
-    public void testHealthCheckEndpointNotPresent() throws Exception {
-        Assert.assertNull(routeControllerEndpoint);
-        Assert.assertNull(routesEndpoint);
-    }
-}
diff --git a/core/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRouteControllerEndpointDisabledTest.java b/core/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRouteControllerEndpointDisabledTest.java
deleted file mode 100644
index c04f484..0000000
--- a/core/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRouteControllerEndpointDisabledTest.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.spring.boot.actuate.endpoint;
-
-import org.apache.camel.CamelContext;
-import org.apache.camel.spring.boot.CamelAutoConfiguration;
-import org.junit.Assert;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
-import org.springframework.boot.autoconfigure.SpringBootApplication;
-import org.springframework.boot.test.context.SpringBootTest;
-import org.springframework.test.annotation.DirtiesContext;
-import org.springframework.test.context.junit4.SpringRunner;
-
-/**
- * Test for the {@link CamelRoutesEndpoint} actuator endpoint.
- */
-@DirtiesContext
-@RunWith(SpringRunner.class)
-@EnableAutoConfiguration
-@SpringBootApplication
-@SpringBootTest(
-    classes = {CamelAutoConfiguration.class, CamelRouteControllerEndpointAutoConfiguration.class, ActuatorTestRoute.class},
-    properties = {"management.endpoint.camelroutecontroller.enabled=false"}
-)
-public class CamelRouteControllerEndpointDisabledTest extends Assert {
-
-    @Autowired(required = false)
-    CamelRouteControllerEndpoint routeControllerEndpoint;
-
-    @Autowired
-    CamelContext camelContext;
-
-    @Test
-    public void testRoutesEndpointNotPresent() throws Exception {
-        Assert.assertNull(routeControllerEndpoint);
-    }
-
-}
diff --git a/core/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRouteControllerEndpointGloballyDisabledAndReenabledTest.java b/core/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRouteControllerEndpointGloballyDisabledAndReenabledTest.java
deleted file mode 100644
index e8c1f8a..0000000
--- a/core/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRouteControllerEndpointGloballyDisabledAndReenabledTest.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.spring.boot.actuate.endpoint;
-
-import org.apache.camel.CamelContext;
-import org.apache.camel.spring.boot.CamelAutoConfiguration;
-import org.junit.Assert;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
-import org.springframework.boot.autoconfigure.SpringBootApplication;
-import org.springframework.boot.test.context.SpringBootTest;
-import org.springframework.test.annotation.DirtiesContext;
-import org.springframework.test.context.junit4.SpringRunner;
-
-/**
- * Test for the {@link CamelRoutesEndpoint} actuator endpoint.
- */
-@DirtiesContext
-@RunWith(SpringRunner.class)
-@EnableAutoConfiguration
-@SpringBootApplication
-@SpringBootTest(
-    classes = {CamelAutoConfiguration.class, CamelRoutesEndpointAutoConfiguration.class,
-               CamelRouteControllerEndpointAutoConfiguration.class, ActuatorTestRoute.class},
-    properties = {"management.endpoints.enabled-by-default = false",
-                  "management.endpoint.camelroutecontroller.enabled = true"}
-)
-public class CamelRouteControllerEndpointGloballyDisabledAndReenabledTest extends Assert {
-
-    @Autowired
-    CamelRouteControllerEndpoint routeControllerEndpoint;
-
-    @Autowired(required = false)
-    CamelRoutesEndpoint routesEndpoint;
-
-    @Autowired
-    CamelContext camelContext;
-
-    @Test
-    public void testRoutesEndpointPresent() throws Exception {
-        Assert.assertNull(routesEndpoint);
-        Assert.assertNotNull(routeControllerEndpoint);
-    }
-
-}
diff --git a/core/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRouteControllerEndpointTest.java b/core/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRouteControllerEndpointTest.java
deleted file mode 100644
index 4b64325..0000000
--- a/core/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRouteControllerEndpointTest.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.spring.boot.actuate.endpoint;
-
-import java.util.List;
-
-import org.apache.camel.CamelContext;
-import org.apache.camel.spring.boot.CamelAutoConfiguration;
-import org.junit.Assert;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
-import org.springframework.boot.autoconfigure.SpringBootApplication;
-import org.springframework.boot.test.context.SpringBootTest;
-import org.springframework.test.annotation.DirtiesContext;
-import org.springframework.test.context.junit4.SpringRunner;
-
-/**
- * Test for the {@link CamelRouteControllerEndpoint} actuator endpoint.
- */
-@DirtiesContext
-@RunWith(SpringRunner.class)
-@EnableAutoConfiguration
-@SpringBootApplication
-@SpringBootTest(classes = {CamelAutoConfiguration.class, CamelRouteControllerEndpointAutoConfiguration.class, ActuatorTestRoute.class})
-public class CamelRouteControllerEndpointTest extends Assert {
-
-    @Autowired
-    CamelRouteControllerEndpoint endpoint;
-
-    @Autowired
-    CamelContext camelContext;
-
-    @Test
-    public void testRouteControllerEndpoint() throws Exception {
-        List<String> routesId = endpoint.getControlledRoutes();
-
-        assertNotNull(routesId);
-        /* FIXME DefaultRouteController returns empty list while it does control any route...
-        assertFalse(routesId.isEmpty());
-        assertEquals(routesId.size(), camelContext.getRoutes().size());
-        assertTrue(routesId.stream().anyMatch(r -> "foo-route".equals(r)));
-        */
-    }
-
-}
diff --git a/core/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRoutesEndpointDisabledTest.java b/core/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRoutesEndpointDisabledTest.java
deleted file mode 100644
index 6511524..0000000
--- a/core/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRoutesEndpointDisabledTest.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.spring.boot.actuate.endpoint;
-
-import org.apache.camel.CamelContext;
-import org.apache.camel.spring.boot.CamelAutoConfiguration;
-import org.junit.Assert;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
-import org.springframework.boot.autoconfigure.SpringBootApplication;
-import org.springframework.boot.test.context.SpringBootTest;
-import org.springframework.test.annotation.DirtiesContext;
-import org.springframework.test.context.junit4.SpringRunner;
-
-/**
- * Test for the {@link CamelRoutesEndpoint} actuator endpoint.
- */
-@DirtiesContext
-@RunWith(SpringRunner.class)
-@EnableAutoConfiguration
-@SpringBootApplication
-@SpringBootTest(
-    classes = {CamelAutoConfiguration.class, CamelRoutesEndpointAutoConfiguration.class, ActuatorTestRoute.class},
-    properties = {"management.endpoint.camelroutes.enabled = false"}
-)
-public class CamelRoutesEndpointDisabledTest extends Assert {
-
-    @Autowired(required = false)
-    CamelRoutesEndpoint routesEndpoint;
-
-    @Autowired
-    CamelContext camelContext;
-
-    @Test
-    public void testRoutesEndpointNotPresent() throws Exception {
-        Assert.assertNull(routesEndpoint);
-    }
-
-}
diff --git a/core/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRoutesEndpointGloballyDisabledAndReenabledTest.java b/core/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRoutesEndpointGloballyDisabledAndReenabledTest.java
deleted file mode 100644
index a81fbdd..0000000
--- a/core/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRoutesEndpointGloballyDisabledAndReenabledTest.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.spring.boot.actuate.endpoint;
-
-import org.apache.camel.CamelContext;
-import org.apache.camel.spring.boot.CamelAutoConfiguration;
-import org.junit.Assert;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
-import org.springframework.boot.autoconfigure.SpringBootApplication;
-import org.springframework.boot.test.context.SpringBootTest;
-import org.springframework.test.annotation.DirtiesContext;
-import org.springframework.test.context.junit4.SpringRunner;
-
-/**
- * Test for the {@link CamelRoutesEndpoint} actuator endpoint.
- */
-@DirtiesContext
-@RunWith(SpringRunner.class)
-@EnableAutoConfiguration
-@SpringBootApplication
-@SpringBootTest(
-    classes = {CamelAutoConfiguration.class, CamelRoutesEndpointAutoConfiguration.class,
-               CamelRouteControllerEndpointAutoConfiguration.class, ActuatorTestRoute.class},
-    properties = {"management.endpoints.enabled-by-default = false",
-                  "management.endpoint.camelroutes.enabled = true"}
-)
-public class CamelRoutesEndpointGloballyDisabledAndReenabledTest extends Assert {
-
-    @Autowired
-    CamelRoutesEndpoint routesEndpoint;
-
-    @Autowired(required = false)
-    CamelRouteControllerEndpoint routeControllerEndpoint;
-
-    @Autowired
-    CamelContext camelContext;
-
-    @Test
-    public void testRoutesEndpointPresent() throws Exception {
-        Assert.assertNull(routeControllerEndpoint);
-        Assert.assertNotNull(routesEndpoint);
-    }
-
-}
diff --git a/core/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRoutesEndpointTest.java b/core/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRoutesEndpointTest.java
deleted file mode 100644
index c00d021..0000000
--- a/core/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRoutesEndpointTest.java
+++ /dev/null
@@ -1,88 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.spring.boot.actuate.endpoint;
-
-import java.util.List;
-
-import org.apache.camel.CamelContext;
-import org.apache.camel.spring.boot.CamelAutoConfiguration;
-import org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesEndpoint.ReadAction;
-import org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesEndpoint.RouteDetailsEndpointInfo;
-import org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesEndpoint.RouteEndpointInfo;
-import org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesEndpoint.TimeInfo;
-import org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesEndpoint.WriteAction;
-import org.junit.Assert;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
-import org.springframework.boot.autoconfigure.SpringBootApplication;
-import org.springframework.boot.test.context.SpringBootTest;
-import org.springframework.test.annotation.DirtiesContext;
-import org.springframework.test.context.junit4.SpringRunner;
-
-/**
- * Test for the {@link CamelRoutesEndpoint} actuator endpoint.
- */
-@DirtiesContext
-@RunWith(SpringRunner.class)
-@EnableAutoConfiguration
-@SpringBootApplication
-@SpringBootTest(classes = {CamelAutoConfiguration.class, CamelRoutesEndpointAutoConfiguration.class, ActuatorTestRoute.class})
-public class CamelRoutesEndpointTest extends Assert {
-
-    @Autowired
-    CamelRoutesEndpoint endpoint;
-
-    @Autowired
-    CamelContext camelContext;
-
-    @Test
-    public void testRoutesEndpoint() throws Exception {
-        List<RouteEndpointInfo> routes = endpoint.readRoutes();
-
-        assertFalse(routes.isEmpty());
-        assertEquals(routes.size(), camelContext.getRoutes().size());
-        assertTrue(routes.stream().anyMatch(r -> "foo-route".equals(r.getId())));
-        assertTrue(routes.stream().anyMatch(r -> "foo-route-group".equals(r.getGroup())));
-        assertTrue(routes.stream().anyMatch(r -> r.getProperties().containsKey("key1") &&  "val1".equals(r.getProperties().get("key1"))));
-        assertTrue(routes.stream().anyMatch(r -> r.getProperties().containsKey("key2") &&  "val2".equals(r.getProperties().get("key2"))));
-    }
-
-    @Test(expected = IllegalArgumentException.class)
-    public void testRouteDumpReadOnly() throws Exception {
-        endpoint.getRouteDump("foo-route");
-    }
-
-    @Test
-    public void testReadOperation() throws Exception {
-        Object answer = endpoint.doReadAction("foo-route", ReadAction.INFO);
-        Assert.assertEquals(RouteEndpointInfo.class, answer.getClass());
-        Assert.assertEquals("foo-route", RouteEndpointInfo.class.cast(answer).getId());
-        answer = endpoint.doReadAction("foo-route", ReadAction.DETAIL);
-        Assert.assertEquals(RouteDetailsEndpointInfo.class, answer.getClass());
-    }
-
-    @Test(expected = IllegalArgumentException.class)
-    public void testWriteOperationReadOnly() throws Exception {
-        TimeInfo timeInfo = new TimeInfo();
-        timeInfo.setAbortAfterTimeout(true);
-        timeInfo.setTimeout(5L);
-        endpoint.doWriteAction("foo-route", WriteAction.STOP, timeInfo);
-    }
-
-}
diff --git a/core/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRoutesEndpointWriteOperationTest.java b/core/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRoutesEndpointWriteOperationTest.java
deleted file mode 100644
index 1897020..0000000
--- a/core/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/actuate/endpoint/CamelRoutesEndpointWriteOperationTest.java
+++ /dev/null
@@ -1,79 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.spring.boot.actuate.endpoint;
-
-import org.apache.camel.CamelContext;
-import org.apache.camel.ServiceStatus;
-import org.apache.camel.spring.boot.CamelAutoConfiguration;
-import org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesEndpoint.TimeInfo;
-import org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesEndpoint.WriteAction;
-import org.junit.Assert;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
-import org.springframework.boot.autoconfigure.SpringBootApplication;
-import org.springframework.boot.test.context.SpringBootTest;
-import org.springframework.test.annotation.DirtiesContext;
-import org.springframework.test.context.junit4.SpringRunner;
-
-/**
- * Test for the {@link CamelRoutesEndpoint} actuator endpoint.
- */
-@DirtiesContext
-@RunWith(SpringRunner.class)
-@EnableAutoConfiguration
-@SpringBootApplication
-@SpringBootTest(
-    classes = {CamelAutoConfiguration.class, CamelRoutesEndpointAutoConfiguration.class, ActuatorTestRoute.class},
-    properties = {"management.endpoint.camelroutes.read-only = false"})
-public class CamelRoutesEndpointWriteOperationTest extends Assert {
-
-    @Autowired
-    CamelRoutesEndpoint endpoint;
-
-    @Autowired
-    CamelContext camelContext;
-
-    @Test
-    public void testWriteOperation() throws Exception {
-        ServiceStatus status = camelContext.getRouteController().getRouteStatus("foo-route");
-        Assert.assertTrue(status.isStarted());
-        TimeInfo timeInfo = new TimeInfo();
-        timeInfo.setAbortAfterTimeout(true);
-        timeInfo.setTimeout(5L);
-        endpoint.doWriteAction("foo-route", WriteAction.STOP, timeInfo);
-        status = camelContext.getRouteController().getRouteStatus("foo-route");
-        Assert.assertTrue(status.isStopped());
-        endpoint.doWriteAction("foo-route", WriteAction.START, timeInfo);
-        status = camelContext.getRouteController().getRouteStatus("foo-route");
-        Assert.assertTrue(status.isStarted());
-    }
-
-    @Test
-    public void testRouteDump() throws Exception {
-        String dump = endpoint.getRouteDump("foo-route");
-        assertNotNull(dump);
-        assertTrue(dump, dump.contains("<route "));
-        assertTrue(dump, dump.contains("<from "));
-        assertTrue(dump, dump.contains("uri=\"timer:foo\""));
-        assertTrue(dump, dump.contains("<to "));
-        assertTrue(dump, dump.contains("uri=\"log:foo\""));
-        assertTrue(dump, dump.contains("</route>"));
-    }
-
-}
diff --git a/examples/camel-example-spring-boot-fhir-auth-tx/readme.adoc b/examples/camel-example-spring-boot-fhir-auth-tx/readme.adoc
index f07e85b..94fecd4 100644
--- a/examples/camel-example-spring-boot-fhir-auth-tx/readme.adoc
+++ b/examples/camel-example-spring-boot-fhir-auth-tx/readme.adoc
@@ -53,20 +53,6 @@ To show a summary of spring boot health check
 curl -XGET -s http://localhost:8080/actuator/health
 ----
 
-=== To get info about the routes
-
-To show a summary of all the routes
-
-----
-curl -XGET -s http://localhost:8080/actuator/camelroutes
-----
-
-To show detailed information for a specific route
-
-----
-curl -XGET -s http://localhost:8080/actuator/camelroutes/{id}/detail
-----
-
 === Help and contributions
 
 If you hit any problem using Camel or have some feedback, 
diff --git a/examples/camel-example-spring-boot-fhir-auth-tx/src/main/resources/application.properties b/examples/camel-example-spring-boot-fhir-auth-tx/src/main/resources/application.properties
index 34b663b..52b6099 100644
--- a/examples/camel-example-spring-boot-fhir-auth-tx/src/main/resources/application.properties
+++ b/examples/camel-example-spring-boot-fhir-auth-tx/src/main/resources/application.properties
@@ -36,17 +36,15 @@ server.port=0
 #camel.springboot.duration-max-idle-seconds=15
 
 # expose actuator endpoint via HTTP
-management.endpoints.web.exposure.include=info,health,camelroutes
+management.endpoints.web.exposure.include=info,health
 
-# show verbose health details (/actuator/info) so you can see Camel information also
+# show verbose health details (/actuator/health) so you can see Camel information also
 management.endpoint.health.show-details=always
 
 # to turn off Camel info in (/actuator/info)
-management.info.camel.enabled=false
+management.info.camel.enabled=true
+management.info.camel.verbose=true
 
-# allow to obtain basic information about Camel routes (read only mode)
-management.endpoint.camelroutes.enabled = true
-management.endpoint.camelroutes.read-only = true
 
 # to configure logging levels
 #logging.level.org.springframework = INFO
diff --git a/examples/camel-example-spring-boot-fhir/readme.adoc b/examples/camel-example-spring-boot-fhir/readme.adoc
index e3c4e27..a8ee54a 100644
--- a/examples/camel-example-spring-boot-fhir/readme.adoc
+++ b/examples/camel-example-spring-boot-fhir/readme.adoc
@@ -1,5 +1,3 @@
-:experimental:
-
 = FHIR Example - Spring Boot
 
 == Introduction
@@ -53,20 +51,6 @@ To show a summary of spring boot health check
 curl -XGET -s http://localhost:8080/actuator/health
 ----
 
-== To get info about the routes
-
-To show a summary of all the routes
-
-----
-curl -XGET -s http://localhost:8080/actuator/camelroutes
-----
-
-To show detailed information for a specific route
-
-----
-curl -XGET -s http://localhost:8080/actuator/camelroutes/{id}/detail
-----
-
 === Help and contributions
 
 If you hit any problem using Camel or have some feedback, 
diff --git a/examples/camel-example-spring-boot-fhir/src/main/resources/application.properties b/examples/camel-example-spring-boot-fhir/src/main/resources/application.properties
index ee76e39..a15f72c 100644
--- a/examples/camel-example-spring-boot-fhir/src/main/resources/application.properties
+++ b/examples/camel-example-spring-boot-fhir/src/main/resources/application.properties
@@ -34,18 +34,14 @@ server.port=0
 #camel.springboot.duration-max-idle-seconds=15
 
 # expose actuator endpoint via HTTP
-management.endpoints.web.exposure.include=info,health,camelroutes
+management.endpoints.web.exposure.include=info,health
 
-# show verbose health details (/actuator/info) so you can see Camel information also
+# show verbose health details (/actuator/health) so you can see Camel information also
 management.endpoint.health.show-details=always
 
 # to turn off Camel info in (/actuator/info)
 management.info.camel.enabled=false
 
-# allow to obtain basic information about Camel routes (read only mode)
-management.endpoint.camelroutes.enabled = true
-management.endpoint.camelroutes.read-only = true
-
 # to configure logging levels
 #logging.level.org.springframework = INFO
 #logging.level.org.apache.camel.spring.boot = INFO
diff --git a/examples/camel-example-spring-boot-supervising-route-controller/readme.adoc b/examples/camel-example-spring-boot-supervising-route-controller/readme.adoc
index 6d70815..f3c3e64 100644
--- a/examples/camel-example-spring-boot-supervising-route-controller/readme.adoc
+++ b/examples/camel-example-spring-boot-supervising-route-controller/readme.adoc
@@ -8,42 +8,21 @@ You can run this example using
 
     mvn spring-boot:run
 
-Beside JMX you can use Spring Boot Endpoints to interact with the routes:
+=== To get health check
 
-* To get info about the routes
+To show a summary of spring boot health check
 
-[source]
 ----
-curl -XGET -s http://localhost:8080/actuator/camelroutes
+curl -XGET -s http://localhost:8080/actuator/health
 ----
 
-* To get details about a route
+And you can see some info details as well
 
-[source]
 ----
-curl -XGET -s http://localhost:8080/actuator/camelroutes/{id}/detail
+curl -XGET -s http://localhost:8080/actuator/info
 ----
 
-* To get info about a route
-
-[source]
-----
-curl -XGET -s http://localhost:8080/actuator/camelroutes/{id}/info
-----
-
-* To stop a route
-
-[source]
-----
-curl -XPOST -H "Content-Type: application/json" -s http://localhost:8080/actuator/camelroutes/{id}/stop
-----
-
-* To start a route
-
-[source]
-----
-curl -XPOST -H "Content-Type: application/json" -s http://localhost:8080/actuator/camelroutes/{id}/start
-----
+See the `application.properties` to control what information to present in actuator.
 
 === Help and contributions
 
diff --git a/examples/camel-example-spring-boot-supervising-route-controller/src/main/java/sample/camel/ApplicationRoutes.java b/examples/camel-example-spring-boot-supervising-route-controller/src/main/java/sample/camel/ApplicationRoutes.java
index ce7e7ce..4539b41 100644
--- a/examples/camel-example-spring-boot-supervising-route-controller/src/main/java/sample/camel/ApplicationRoutes.java
+++ b/examples/camel-example-spring-boot-supervising-route-controller/src/main/java/sample/camel/ApplicationRoutes.java
@@ -21,6 +21,7 @@ import org.springframework.stereotype.Component;
 
 @Component
 public class ApplicationRoutes extends RouteBuilder {
+
     @Override
     public void configure() throws Exception {
         from("timer:foo?period=5000")
diff --git a/examples/camel-example-spring-boot-supervising-route-controller/src/main/resources/application.properties b/examples/camel-example-spring-boot-supervising-route-controller/src/main/resources/application.properties
index ab64699..5519f94 100644
--- a/examples/camel-example-spring-boot-supervising-route-controller/src/main/resources/application.properties
+++ b/examples/camel-example-spring-boot-supervising-route-controller/src/main/resources/application.properties
@@ -25,18 +25,20 @@ logging.level.org.apache.camel.util.backoff = DEBUG
 logging.level.sample.camel = DEBUG
 
 # expose actuator endpoint via HTTP
-management.endpoints.web.exposure.include=info,health,camelroutes
+management.endpoints.web.exposure.include=info,health
 management.endpoint.health.enabled = true
 
-# camel routes is by default enabled
-# so you do not have to configure below
-# management.endpoint.camelroutes.enabled = true
+# show verbose health details (/actuator/health) so you can see Camel information also
+management.endpoint.health.show-details=always
 
-# turn off read-only so we can stop/start the Camel routes
-management.endpoint.camelroutes.read-only = false
+# to turn off Camel info in (/actuator/info)
+management.info.camel.enabled=true
+management.info.camel.verbose=true
 
+# the name of Camel
 camel.springboot.name = SampleSupervisingRouteController
 
+# route controller configuration
 camel.springboot.routeControllerSuperviseEnabled = true
 camel.springboot.routeControllerInitialDelay = 5000
 camel.springboot.routeControllerBackoffDelay = 5000
diff --git a/examples/camel-example-spring-boot/readme.adoc b/examples/camel-example-spring-boot/readme.adoc
index 741bdaf..baf111d 100644
--- a/examples/camel-example-spring-boot/readme.adoc
+++ b/examples/camel-example-spring-boot/readme.adoc
@@ -29,19 +29,13 @@ To show a summary of spring boot health check
 curl -XGET -s http://localhost:8080/actuator/health
 ----
 
-=== To get info about the routes
-
-To show a summary of all the routes
+And you can see some info details as well
 
 ----
-curl -XGET -s http://localhost:8080/actuator/camelroutes
+curl -XGET -s http://localhost:8080/actuator/info
 ----
 
-To show detailed information for a specific route
-
-----
-curl -XGET -s http://localhost:8080/actuator/camelroutes/{id}/detail
-----
+See the `application.properties` to control what information to present in actuator.
 
 === Help and contributions
 
diff --git a/examples/camel-example-spring-boot/src/main/resources/application.properties b/examples/camel-example-spring-boot/src/main/resources/application.properties
index 956cb50..7333594 100644
--- a/examples/camel-example-spring-boot/src/main/resources/application.properties
+++ b/examples/camel-example-spring-boot/src/main/resources/application.properties
@@ -35,17 +35,14 @@ timer.period = 2000
 #camel.springboot.duration-max-idle-seconds=15
 
 # expose actuator endpoint via HTTP
-management.endpoints.web.exposure.include=info,health,camelroutes
+management.endpoints.web.exposure.include=info,health
 
-# show verbose health details (/actuator/info) so you can see Camel information also
+# show verbose health details (/actuator/health) so you can see Camel information also
 management.endpoint.health.show-details=always
 
 # to turn off Camel info in (/actuator/info)
 management.info.camel.enabled=true
 management.info.camel.verbose=true
-# allow to obtain basic information about Camel routes (read only mode)
-management.endpoint.camelroutes.enabled = true
-management.endpoint.camelroutes.read-only = true
 
 # to configure logging levels
 #logging.level.org.springframework = INFO


[camel-spring-boot] 01/02: CAMEL-15045: Allow to configure route startup logging level. For example if you have 100+ routes it may be annoying with a log per route.

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git

commit 8745b331fefc194c7ce99a1c8ba782b489b042a1
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon May 18 12:40:17 2020 +0200

    CAMEL-15045: Allow to configure route startup logging level. For example if you have 100+ routes it may be annoying with a log per route.
---
 .../org/apache/camel/spring/boot/CamelConfigurationProperties.java | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelConfigurationProperties.java b/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelConfigurationProperties.java
index 5539875..c13cb7d 100644
--- a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelConfigurationProperties.java
+++ b/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelConfigurationProperties.java
@@ -521,6 +521,13 @@ public class CamelConfigurationProperties extends DefaultConfigurationProperties
     private String xmlRests = "classpath:camel-rest/*.xml";
 
     /**
+     * Sets the logging level used for logging route startup activity.
+     * By default INFO level is used. You can use this to change the level for example to OFF if
+     * this kind of logging is not wanted.
+     */
+    private LoggingLevel routeControllerRouteStartupLoggingLevel;
+
+    /**
      * To enable using supervising route controller which allows Camel to startup
      * and then the controller takes care of starting the routes in a safe manner.
      *