You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2019/10/22 10:57:33 UTC

[GitHub] [camel-quarkus] davsclaus commented on a change in pull request #312: Timer example

davsclaus commented on a change in pull request #312: Timer example
URL: https://github.com/apache/camel-quarkus/pull/312#discussion_r337448958
 
 

 ##########
 File path: examples/timer-log/README.adoc
 ##########
 @@ -0,0 +1,27 @@
+= timer-log
+
+This is a basic hello world example that uses a Camel timer that
+triggers every second and prints to the log.
+
+To run it:
+
+[source,text]
+----
+$ mvn clean compile quarkus:dev -DnoDeps
+----
+
+Then look at the log output in the console. As we run the example
+in Quarkus Dev Mode, you can edit the source code and have live updates.
+For example try to change the logging output to be `Bye World`.
+
+== Native build
+
+To build as native:
+
+[source,text]
+----
+$ mvn package -Pnative-image
 
 Review comment:
   Updated and the other example is using native-image so we can update those instead

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services