This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO] BuildTimeEventSpy is registered. | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------< org.apache.camel:camel-cxf-soap >------------------- | |
[INFO] Building Camel :: CXF :: SOAP 3.19.0-SNAPSHOT | |
[INFO] --------------------------------[ jar ]--------------------------------- | |
[INFO] | |
[INFO] --- maven-dependency-plugin:3.2.0:tree (default-cli) @ camel-cxf-soap --- | |
[INFO] org.apache.camel:camel-cxf-soap:jar:3.19.0-SNAPSHOT | |
[INFO] +- org.apache.camel:camel-support:jar:3.19.0-SNAPSHOT:compile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@org.apache.camel.BindToRegistry("myCheck") | |
public class MyCheck extends org.apache.camel.impl.health.AbstractHealthCheck { | |
public MyCheck() { | |
super("foo", "123"); | |
System.out.println("xxx"); | |
} | |
@Override | |
public void doCall(org.apache.camel.health.HealthCheckResultBuilder builder, java.util.Map<String, Object> options) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
creationTimestamp: null | |
labels: | |
app: myacme | |
name: myacme | |
spec: | |
replicas: 1 | |
selector: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: camel.apache.org/v1alpha1 | |
kind: Kamelet | |
metadata: | |
name: mybeer-source | |
annotations: | |
camel.apache.org/kamelet.support.level: "Preview" | |
camel.apache.org/catalog.version: "main-SNAPSHOT" | |
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iOTJwdCIgd2lkdGg9IjkycHQiIHZlcnNpb249IjEuMCIgeG1sbnM6Y2M9Imh0dHA6Ly9jcmVhdGl2ZWNvbW1vbnMub3JnL25zIyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyI+Cgk8ZGVmcz4KCQk8bGluZWFyR3JhZGllbnQgaWQ9ImEiPgoJCQk8c3RvcCBzdG9wLWNvbG9yPSIjZmZmZmZmIiBzdG9wLW9wYWNpdHk9Ii41IiBvZmZzZXQ9IjAiLz4KCQkJPHN0b3Agc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIuMSIgb2Zmc2V0PSIxIi8+CgkJPC9saW5lYXJHcmFkaWVudD4KCQk8bGluZWFyR3JhZGllbnQgaWQ9ImQiIHkyPSI2Mi4yOTkiIHhsaW5rOmhyZWY9IiNhIiBncmFkaWVudFVuaXRzPSJ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- camel-k: language=xml --> | |
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns="http://camel.apache.org/schema/spring" | |
xsi:schemaLocation=" | |
http://camel.apache.org/schema/spring | |
https://camel.apache.org/schema/spring/camel-spring.xsd"> | |
<!-- Write your routes here, for example: --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2022-02-12 14:40:57.498 INFO 38460 --- [ main] amel.main.MainAutowiredLifecycleStrategy : Autowired property: dataSource on component: sql as exactly one instance of type: javax.sql.DataSource (org.apache.commons.dbcp2.BasicDataSource) found in the registry | |
2022-02-12 14:40:57.683 INFO 38460 --- [ main] e.camel.impl.engine.AbstractCamelContext : Routes startup (total:1 started:1) | |
2022-02-12 14:40:57.683 INFO 38460 --- [ main] e.camel.impl.engine.AbstractCamelContext : Started route1 (sql://SELECT%20*%20FROM%20emp_data) | |
2022-02-12 14:40:57.683 INFO 38460 --- [ main] e.camel.impl.engine.AbstractCamelContext : Apache Camel 3.16.0-SNAPSHOT (CamelJBang) started in 434ms (build:80ms init:217ms start:137ms) | |
2022-02-12 14:40:57.684 INFO 38460 --- [ main] ache.camel.impl.debugger.BacklogDebugger : Enabling debugger | |
2022-02-12 14:40:58.915 INFO 38460 --- [FROM%20emp_data] jdbc.yaml:10 : {"name":"jack","age":28,"designation":"london" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/workspace/camel main ❯ mvnd clean install -P fastinstall 7s | |
Building camel daemon: 16e0a292 threads used/hidden/max: 7/0/7 progress: 492/568 86% time: 10:23 | |
:camel-aws2-ses Downloading software.amazon.awssdk:ses:2.17.126 from central | |
:camel-aws2-mq | |
:camel-aws2-lambda | |
:camel-aws2-kms | |
:camel-aws2-kinesis | |
:camel-aws2-iam | |
:camel-aws2-eventbridge |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.apache.camel.spring; | |
import org.apache.camel.CamelContext; | |
import org.junit.jupiter.api.Test; | |
import static org.junit.jupiter.api.Assertions.assertNotSame; | |
public class TwoCamelTest { | |
@Test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/main/java/io/quarkus/camel/lambda/CamelRoute.java b/src/main/java/io/quarkus/camel/lambda/CamelRoute.java | |
index 200e51e..4e8de94 100644 | |
--- a/src/main/java/io/quarkus/camel/lambda/CamelRoute.java | |
+++ b/src/main/java/io/quarkus/camel/lambda/CamelRoute.java | |
@@ -15,7 +15,6 @@ public class CamelRoute extends RouteBuilder { | |
public void configure() throws Exception { | |
from("direct:input").routeId("Test") | |
.log("Inside Camel Route Received Payload ==> ${body}") | |
- .bean(greetService,"greet(${body.name})") | |
- .end(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- rest: | |
path: "/api/v3" | |
put: | |
- consumes: "application/json,application/xml" | |
id: "updatePet" | |
uri: "/pet" | |
param: | |
- name: "body" | |
required: true | |
type: "body" |