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:22:16 UTC

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

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

 ##########
 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:
   `-Pnative-image` is correct, but in the user guide we say `-Dnative` which is equivalent and a bit shorter.
   
   I would perhaps also be worthwhile to note that the above requires Docker.
   
   The result is actually a Linux executable that won't run on Windows and Mac. Not sure we should go in such details here?

----------------------------------------------------------------
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