jomin7 commented on code in PR #158:
URL: https://github.com/apache/camel-examples/pull/158#discussion_r2872576748
##########
java-lambda/src/main/java/org/apache/camel/example/java8/MyRouteBuilder.java:
##########
@@ -0,0 +1,48 @@
+package org.apache.camel.example.java8;
+
+import org.apache.camel.Exchange;
+import org.apache.camel.Message;
+import org.apache.camel.builder.RouteBuilder;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import java.util.Date;
+import java.util.Objects;
+
+public class MyRouteBuilder extends RouteBuilder {
+ private static final Logger LOGGER =
LoggerFactory.getLogger(MyApplication.class);
+ @Override
+ public void configure() throws Exception {
+ from("timer:simple?includeMetadata=true&period=503")
Review Comment:
Done. I have reformatted the route logic to follow the Camel DSL style
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]