ravishankarhassain commented on a change in pull request #52:
URL:
https://github.com/apache/camel-quarkus-examples/pull/52#discussion_r687720303
##########
File path: aws-lambda/src/main/docker/Dockerfile.legacy-jar
##########
@@ -0,0 +1,51 @@
+####
Review comment:
Done
##########
File path: aws-lambda/src/main/java/io/quarkus/camel/CamelRoute.java
##########
@@ -0,0 +1,43 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package io.quarkus.camel;
+
+import org.apache.camel.builder.RouteBuilder;
+
+import javax.enterprise.context.ApplicationScoped;
+import javax.inject.Inject;
+
+@ApplicationScoped
+public class CamelRoute extends RouteBuilder {
+
+ @Inject
+ GreetService greetService;
+
+ @Override
+ public void configure() throws Exception {
+ from("direct:input").routeId("Test")
+ .log("Inside Camel Route Received Payload ==> ${body}")
+ /*
Review comment:
Done
##########
File path: aws-lambda/src/main/java/io/quarkus/camel/GreetService.java
##########
@@ -0,0 +1,30 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package io.quarkus.camel;
+
+import javax.enterprise.context.ApplicationScoped;
+
+
+//@RegisterForReflection is required if you want to invoke this bean's methods
via Bean Component / EIP in your camel route
Review comment:
Done
##########
File path: aws-lambda/src/main/resources/application.properties
##########
@@ -0,0 +1,16 @@
+## ---------------------------------------------------------------------------
Review comment:
Done
--
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]