You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/02/09 07:58:45 UTC

[camel-k-runtime] branch master updated: Java Example: Fixed README Markdown

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

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git


The following commit(s) were added to refs/heads/master by this push:
     new ca3fcc9  Java Example: Fixed README Markdown
ca3fcc9 is described below

commit ca3fcc96be2c6591967d7953c0686d4a474e266f
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Feb 9 08:58:29 2021 +0100

    Java Example: Fixed README Markdown
---
 examples/java/README.md | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/examples/java/README.md b/examples/java/README.md
index 8cfac75..6762d9f 100644
--- a/examples/java/README.md
+++ b/examples/java/README.md
@@ -1,10 +1,10 @@
-== Camel-K-runtime Java Example
+# Camel-K-runtime Java Example
 
 This example shows the usage of Camel-k-runtime to run a Java route.
 
 The route involves timer component and log component.
 
-=== How to run
+## How to run
 
 You have two ways of doing this.
 
@@ -16,13 +16,16 @@ This approach will pack and run a camel-quarkus runner.
 
 Second approach
 
+```
     mvn clean package
     export CAMEL_K_CONF=${project.basedir}/data/application.properties
     export CAMEL_K_ROUTES=file:${project.basedir}/data/MyRoutes.java
     java -jar target/camel-k-runtime-example-java-runner.jar
+```
 
 You should get the following output in both cases
 
+```
     2021-02-08 18:25:50,700 INFO  [org.apa.cam.k.Runtime] (main) Apache Camel K Runtime 1.7.0-SNAPSHOT
     2021-02-08 18:25:50,727 INFO  [org.apa.cam.qua.cor.CamelBootstrapRecorder] (main) bootstrap runtime: org.apache.camel.quarkus.main.CamelMainRuntime
     2021-02-08 18:25:50,733 INFO  [org.apa.cam.k.lis.SourcesConfigurer] (main) Loading routes from: file:/home/oscerd/workspace/apache-camel/camel-k-runtime/examples/java/data/MyRoutes.java
@@ -37,8 +40,9 @@ You should get the following output in both cases
     2021-02-08 18:25:51,373 INFO  [io.quarkus] (main) Installed features: [camel-bean, camel-core, camel-endpointdsl, camel-k-core, camel-k-loader-java, camel-k-runtime, camel-log, camel-main, camel-support-  common, camel-timer, cdi]
     2021-02-08 18:25:52,402 INFO  [info] (Camel (camel-q) thread #0 - timer://tick) Exchange[ExchangePattern: InOnly, BodyType: null, Body: [Body is null]]
     2021-02-08 18:25:53,370 INFO  [info] (Camel (camel-q) thread #0 - timer://tick) Exchange[ExchangePattern: InOnly, BodyType: null, Body: [Body is null]]
+```
 
-=== Help and contributions
+## Help and contributions
 
 If you hit any problem using Camel or have some feedback, then please
 https://camel.apache.org/support.html[let us know].