From 044a7ad54101df156361f07e0282dcdd6e7b5966 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Mon, 4 Jun 2018 20:16:53 +0200 Subject: [PATCH] add a goal section --- hello-world-java/README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/hello-world-java/README.md b/hello-world-java/README.md index a378656..7e624d9 100644 --- a/hello-world-java/README.md +++ b/hello-world-java/README.md @@ -1,7 +1,9 @@ # Camel Hello World -## Goal +## Goals +- Discover how to bootstrap a Camel project +- Verify that the [pre-requisites](../prerequisites/README.md) are met ## How this project has been created @@ -28,14 +30,13 @@ src/data/message1.xml For a simple hello world, we can do a bit of cleanup: ``` -rm -rf src/data +rm -rf src/data ``` Now, you should have a much smaller repository structure: ``` $ find . -type f pom.xml -src src/main/resources/log4j2.properties src/main/java/fr/itix/camel/hello_world_java/MainApp.java src/main/java/fr/itix/camel/hello_world_java/MyRouteBuilder.java @@ -71,11 +72,11 @@ mvn exec:java If you followed the instructions, you should have something like this: ``` [INFO] Scanning for projects... -[INFO] +[INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building A Camel Route 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ -[INFO] +[INFO] [INFO] --- exec-maven-plugin:1.6.0:java (default-cli) @ hello-world-java --- [ello_world_java.MainApp.main()] DefaultCamelContext INFO Apache Camel 2.21.1 (CamelContext: camel-1) is starting [ello_world_java.MainApp.main()] ManagedManagementStrategy INFO JMX is enabled