This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-examples.git
commit 0016badaa18267c52f13ce0d08738ef85ea030d5 Author: Claus Ibsen <[email protected]> AuthorDate: Fri Nov 17 09:17:46 2023 +0100 Example for main with micrometer --- main-micrometer/pom.xml | 4 ++++ main-micrometer/src/main/resources/application.properties | 3 +++ 2 files changed, 7 insertions(+) diff --git a/main-micrometer/pom.xml b/main-micrometer/pom.xml index cfbc412a..82f1a039 100644 --- a/main-micrometer/pom.xml +++ b/main-micrometer/pom.xml @@ -59,6 +59,10 @@ <groupId>org.apache.camel</groupId> <artifactId>camel-main</artifactId> </dependency> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-yaml-dsl</artifactId> + </dependency> <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-timer</artifactId> diff --git a/main-micrometer/src/main/resources/application.properties b/main-micrometer/src/main/resources/application.properties index 1364adcd..aed6ace9 100644 --- a/main-micrometer/src/main/resources/application.properties +++ b/main-micrometer/src/main/resources/application.properties @@ -22,6 +22,9 @@ camel.main.name = MyCoolCamel # allows source:line precise logging camel.main.sourceLocationEnabled=true +# turn on dev console +camel.context.dev-console=true + # enable http server camel.server.enabled = true camel.server.dev-console-enabled = true
