diff --git a/camel-k-quarkus/camel-k-quarkus-loader-groovy/deployment/pom.xml b/camel-k-quarkus/camel-k-quarkus-loader-groovy/deployment/pom.xml new file mode 100644 index 000000000..58cf1a2c0 --- /dev/null +++ b/camel-k-quarkus/camel-k-quarkus-loader-groovy/deployment/pom.xml @@ -0,0 +1,71 @@ + + + + + org.apache.camel.k + camel-k-quarkus-loader-groovy-parent + 1.0.9-SNAPSHOT + + 4.0.0 + + camel-k-quarkus-loader-groovy-deployment + + + + + org.apache.camel.quarkus + camel-quarkus-bom-deployment + ${camel-quarkus.version} + pom + import + + + + + + + org.apache.camel.k + camel-k-quarkus-loader-groovy + + + org.apache.camel.k + camel-k-quarkus-core-deployment + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + + io.quarkus + quarkus-extension-processor + ${quarkus.version} + + + + + + + + diff --git a/camel-k-quarkus/camel-k-quarkus-loader-groovy/deployment/src/main/java/org/apache/camel/k/loader/groovy/quarkus/deployment/Feature.java b/camel-k-quarkus/camel-k-quarkus-loader-groovy/deployment/src/main/java/org/apache/camel/k/loader/groovy/quarkus/deployment/Feature.java new file mode 100644 index 000000000..4cdae729c --- /dev/null +++ b/camel-k-quarkus/camel-k-quarkus-loader-groovy/deployment/src/main/java/org/apache/camel/k/loader/groovy/quarkus/deployment/Feature.java @@ -0,0 +1,29 @@ +/* + * 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 org.apache.camel.k.loader.groovy.quarkus.deployment; + +import io.quarkus.deployment.annotations.BuildStep; +import io.quarkus.deployment.builditem.FeatureBuildItem; + +public class Feature { + private static final String FEATURE = "camel-k-loader-groovy"; + + @BuildStep + FeatureBuildItem feature() { + return new FeatureBuildItem(FEATURE); + } +} diff --git a/camel-k-quarkus/camel-k-quarkus-loader-groovy/pom.xml b/camel-k-quarkus/camel-k-quarkus-loader-groovy/pom.xml new file mode 100644 index 000000000..cf81d716c --- /dev/null +++ b/camel-k-quarkus/camel-k-quarkus-loader-groovy/pom.xml @@ -0,0 +1,36 @@ + + + + + org.apache.camel.k + camel-k-quarkus + 1.0.9-SNAPSHOT + + 4.0.0 + pom + + camel-k-quarkus-loader-groovy-parent + + + runtime + deployment + + + diff --git a/camel-k-quarkus/camel-k-quarkus-loader-groovy/runtime/pom.xml b/camel-k-quarkus/camel-k-quarkus-loader-groovy/runtime/pom.xml new file mode 100644 index 000000000..4c0053f27 --- /dev/null +++ b/camel-k-quarkus/camel-k-quarkus-loader-groovy/runtime/pom.xml @@ -0,0 +1,105 @@ + + + + + org.apache.camel.k + camel-k-quarkus-loader-groovy-parent + 1.0.9-SNAPSHOT + + 4.0.0 + + camel-k-quarkus-loader-groovy + + + + org.apache.camel.k + camel-k-quarkus-core + + + org.apache.camel.k + camel-k-loader-groovy + + + org.apache.camel + camel-endpointdsl + + + org.apache.camel + camel-groovy + + + org.codehaus.groovy + * + + + + + org.codehaus.groovy + groovy + ${groovy.version} + + + + + + + io.quarkus + quarkus-bootstrap-maven-plugin + ${quarkus.version} + + + + extension-descriptor + + + ${project.groupId}:${project.artifactId}-deployment:${project.version} + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + + io.quarkus + quarkus-extension-processor + ${quarkus.version} + + + + + + org.jboss.jandex + jandex-maven-plugin + + + make-index + + jandex + + + + + + + + diff --git a/camel-k-quarkus/camel-k-quarkus-loader-java/deployment/pom.xml b/camel-k-quarkus/camel-k-quarkus-loader-java/deployment/pom.xml new file mode 100644 index 000000000..dace69f35 --- /dev/null +++ b/camel-k-quarkus/camel-k-quarkus-loader-java/deployment/pom.xml @@ -0,0 +1,71 @@ + + + + + org.apache.camel.k + camel-k-quarkus-loader-java-parent + 1.0.9-SNAPSHOT + + 4.0.0 + + camel-k-quarkus-loader-java-deployment + + + + + org.apache.camel.quarkus + camel-quarkus-bom-deployment + ${camel-quarkus.version} + pom + import + + + + + + + org.apache.camel.k + camel-k-quarkus-loader-java + + + org.apache.camel.k + camel-k-quarkus-core-deployment + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + + io.quarkus + quarkus-extension-processor + ${quarkus.version} + + + + + + + + diff --git a/camel-k-quarkus/camel-k-quarkus-loader-java/deployment/src/main/java/org/apache/camel/k/loader/java/quarkus/deployment/Feature.java b/camel-k-quarkus/camel-k-quarkus-loader-java/deployment/src/main/java/org/apache/camel/k/loader/java/quarkus/deployment/Feature.java new file mode 100644 index 000000000..a5b0d0ff1 --- /dev/null +++ b/camel-k-quarkus/camel-k-quarkus-loader-java/deployment/src/main/java/org/apache/camel/k/loader/java/quarkus/deployment/Feature.java @@ -0,0 +1,29 @@ +/* + * 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 org.apache.camel.k.loader.java.quarkus.deployment; + +import io.quarkus.deployment.annotations.BuildStep; +import io.quarkus.deployment.builditem.FeatureBuildItem; + +public class Feature { + private static final String FEATURE = "camel-k-loader-java"; + + @BuildStep + FeatureBuildItem feature() { + return new FeatureBuildItem(FEATURE); + } +} diff --git a/camel-k-quarkus/camel-k-quarkus-loader-java/pom.xml b/camel-k-quarkus/camel-k-quarkus-loader-java/pom.xml new file mode 100644 index 000000000..dbf936054 --- /dev/null +++ b/camel-k-quarkus/camel-k-quarkus-loader-java/pom.xml @@ -0,0 +1,36 @@ + + + + + org.apache.camel.k + camel-k-quarkus + 1.0.9-SNAPSHOT + + 4.0.0 + pom + + camel-k-quarkus-loader-java-parent + + + runtime + deployment + + + diff --git a/camel-k-quarkus/camel-k-quarkus-loader-java/runtime/pom.xml b/camel-k-quarkus/camel-k-quarkus-loader-java/runtime/pom.xml new file mode 100644 index 000000000..19d4c4d5d --- /dev/null +++ b/camel-k-quarkus/camel-k-quarkus-loader-java/runtime/pom.xml @@ -0,0 +1,90 @@ + + + + + org.apache.camel.k + camel-k-quarkus-loader-java-parent + 1.0.9-SNAPSHOT + + 4.0.0 + + camel-k-quarkus-loader-java + + + + org.apache.camel.k + camel-k-quarkus-core + + + org.apache.camel.k + camel-k-loader-java + + + org.apache.camel + camel-endpointdsl + + + + + + + io.quarkus + quarkus-bootstrap-maven-plugin + ${quarkus.version} + + + + extension-descriptor + + + ${project.groupId}:${project.artifactId}-deployment:${project.version} + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + + io.quarkus + quarkus-extension-processor + ${quarkus.version} + + + + + + org.jboss.jandex + jandex-maven-plugin + + + make-index + + jandex + + + + + + + + diff --git a/camel-k-quarkus/camel-k-quarkus-loader-js/it/src/main/resources/application.properties b/camel-k-quarkus/camel-k-quarkus-loader-js/it/src/main/resources/application.properties index 91d5d757e..3dff7771d 100644 --- a/camel-k-quarkus/camel-k-quarkus-loader-js/it/src/main/resources/application.properties +++ b/camel-k-quarkus/camel-k-quarkus-loader-js/it/src/main/resources/application.properties @@ -20,6 +20,11 @@ quarkus.log.file.enable = false quarkus.log.console.enable = false +# +# Quarkus :: Camel +# +quarkus.camel.main.routes-discovery.enabled = false + # # Camel # diff --git a/camel-k-quarkus/camel-k-quarkus-loader-kotlin/deployment/pom.xml b/camel-k-quarkus/camel-k-quarkus-loader-kotlin/deployment/pom.xml new file mode 100644 index 000000000..3f85ac34e --- /dev/null +++ b/camel-k-quarkus/camel-k-quarkus-loader-kotlin/deployment/pom.xml @@ -0,0 +1,71 @@ + + + + + org.apache.camel.k + camel-k-quarkus-loader-kotlin-parent + 1.0.9-SNAPSHOT + + 4.0.0 + + camel-k-quarkus-loader-kotlin-deployment + + + + + org.apache.camel.quarkus + camel-quarkus-bom-deployment + ${camel-quarkus.version} + pom + import + + + + + + + org.apache.camel.k + camel-k-quarkus-loader-kotlin + + + org.apache.camel.k + camel-k-quarkus-core-deployment + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + + io.quarkus + quarkus-extension-processor + ${quarkus.version} + + + + + + + + diff --git a/camel-k-quarkus/camel-k-quarkus-loader-kotlin/deployment/src/main/java/org/apache/camel/k/loader/kotlin/quarkus/deployment/Feature.java b/camel-k-quarkus/camel-k-quarkus-loader-kotlin/deployment/src/main/java/org/apache/camel/k/loader/kotlin/quarkus/deployment/Feature.java new file mode 100644 index 000000000..a869ba1cd --- /dev/null +++ b/camel-k-quarkus/camel-k-quarkus-loader-kotlin/deployment/src/main/java/org/apache/camel/k/loader/kotlin/quarkus/deployment/Feature.java @@ -0,0 +1,29 @@ +/* + * 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 org.apache.camel.k.loader.kotlin.quarkus.deployment; + +import io.quarkus.deployment.annotations.BuildStep; +import io.quarkus.deployment.builditem.FeatureBuildItem; + +public class Feature { + private static final String FEATURE = "camel-k-loader-kotlin"; + + @BuildStep + FeatureBuildItem feature() { + return new FeatureBuildItem(FEATURE); + } +} diff --git a/camel-k-quarkus/camel-k-quarkus-loader-kotlin/pom.xml b/camel-k-quarkus/camel-k-quarkus-loader-kotlin/pom.xml new file mode 100644 index 000000000..0fd18f8ae --- /dev/null +++ b/camel-k-quarkus/camel-k-quarkus-loader-kotlin/pom.xml @@ -0,0 +1,36 @@ + + + + + org.apache.camel.k + camel-k-quarkus + 1.0.9-SNAPSHOT + + 4.0.0 + pom + + camel-k-quarkus-loader-kotlin-parent + + + runtime + deployment + + + diff --git a/camel-k-quarkus/camel-k-quarkus-loader-kotlin/runtime/pom.xml b/camel-k-quarkus/camel-k-quarkus-loader-kotlin/runtime/pom.xml new file mode 100644 index 000000000..09e1e1f72 --- /dev/null +++ b/camel-k-quarkus/camel-k-quarkus-loader-kotlin/runtime/pom.xml @@ -0,0 +1,90 @@ + + + + + org.apache.camel.k + camel-k-quarkus-loader-kotlin-parent + 1.0.9-SNAPSHOT + + 4.0.0 + + camel-k-quarkus-loader-kotlin + + + + org.apache.camel.k + camel-k-quarkus-core + + + org.apache.camel.k + camel-k-loader-kotlin + + + org.apache.camel + camel-endpointdsl + + + + + + + io.quarkus + quarkus-bootstrap-maven-plugin + ${quarkus.version} + + + + extension-descriptor + + + ${project.groupId}:${project.artifactId}-deployment:${project.version} + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + + io.quarkus + quarkus-extension-processor + ${quarkus.version} + + + + + + org.jboss.jandex + jandex-maven-plugin + + + make-index + + jandex + + + + + + + + diff --git a/camel-k-quarkus/camel-k-quarkus-loader-xml/it/src/main/resources/application.properties b/camel-k-quarkus/camel-k-quarkus-loader-xml/it/src/main/resources/application.properties index 876ce6b3e..d277fd677 100644 --- a/camel-k-quarkus/camel-k-quarkus-loader-xml/it/src/main/resources/application.properties +++ b/camel-k-quarkus/camel-k-quarkus-loader-xml/it/src/main/resources/application.properties @@ -20,6 +20,11 @@ quarkus.log.file.enable = false quarkus.log.console.enable = false +# +# Quarkus :: Camel +# +quarkus.camel.main.routes-discovery.enabled = false + # # Camel # diff --git a/camel-k-quarkus/camel-k-quarkus-loader-yaml/it/src/main/resources/application.properties b/camel-k-quarkus/camel-k-quarkus-loader-yaml/it/src/main/resources/application.properties index a8f86e944..3dff7771d 100644 --- a/camel-k-quarkus/camel-k-quarkus-loader-yaml/it/src/main/resources/application.properties +++ b/camel-k-quarkus/camel-k-quarkus-loader-yaml/it/src/main/resources/application.properties @@ -20,6 +20,10 @@ quarkus.log.file.enable = false quarkus.log.console.enable = false +# +# Quarkus :: Camel +# +quarkus.camel.main.routes-discovery.enabled = false # # Camel diff --git a/camel-k-quarkus/pom.xml b/camel-k-quarkus/pom.xml index 00800524b..8e26d5fb7 100644 --- a/camel-k-quarkus/pom.xml +++ b/camel-k-quarkus/pom.xml @@ -45,6 +45,9 @@ camel-k-quarkus-loader-js camel-k-quarkus-loader-yaml camel-k-quarkus-loader-knative + camel-k-quarkus-loader-java + camel-k-quarkus-loader-groovy + camel-k-quarkus-loader-kotlin camel-k-quarkus-core camel-k-quarkus-knative diff --git a/camel-k-runtime-bom/pom.xml b/camel-k-runtime-bom/pom.xml index a36ca661d..4fd8ff87f 100644 --- a/camel-k-runtime-bom/pom.xml +++ b/camel-k-runtime-bom/pom.xml @@ -31,10 +31,6 @@ 1.0.9-SNAPSHOT pom - - 2.12.0 - - The Apache Camel Team @@ -209,6 +205,36 @@ camel-k-quarkus-loader-js-deployment ${project.version} + + org.apache.camel.k + camel-k-quarkus-loader-java + ${project.version} + + + org.apache.camel.k + camel-k-quarkus-loader-java-deployment + ${project.version} + + + org.apache.camel.k + camel-k-quarkus-loader-groovy + ${project.version} + + + org.apache.camel.k + camel-k-quarkus-loader-groovy-deployment + ${project.version} + + + org.apache.camel.k + camel-k-quarkus-loader-kotlin + ${project.version} + + + org.apache.camel.k + camel-k-quarkus-loader-kotlin-deployment + ${project.version} + org.apache.camel.k camel-k-quarkus-core diff --git a/examples/camel-k-runtime-example-quarkus-groovy/data/application.properties b/examples/camel-k-runtime-example-quarkus-groovy/data/application.properties new file mode 100644 index 000000000..b5802cec1 --- /dev/null +++ b/examples/camel-k-runtime-example-quarkus-groovy/data/application.properties @@ -0,0 +1,29 @@ +## --------------------------------------------------------------------------- +## 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. +## --------------------------------------------------------------------------- + +# +# camel - main +# +camel.main.name = camel-q +camel.main.stream-caching-enabled = true +camel.main.stream-caching-spool-directory = ${java.io.tmpdir}/camel-q + +# +# Integration +# +message = test-xs + diff --git a/examples/camel-k-runtime-example-quarkus-groovy/data/routes.groovy b/examples/camel-k-runtime-example-quarkus-groovy/data/routes.groovy new file mode 100644 index 000000000..40091b031 --- /dev/null +++ b/examples/camel-k-runtime-example-quarkus-groovy/data/routes.groovy @@ -0,0 +1,19 @@ +/* + * 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. + */ + +from('timer:tick') + .to('log:info') diff --git a/examples/camel-k-runtime-example-quarkus-groovy/pom.xml b/examples/camel-k-runtime-example-quarkus-groovy/pom.xml new file mode 100644 index 000000000..962b77f3e --- /dev/null +++ b/examples/camel-k-runtime-example-quarkus-groovy/pom.xml @@ -0,0 +1,118 @@ + + + + + + org.apache.camel.k + camel-k-runtime-examples + 1.0.9-SNAPSHOT + + + 4.0.0 + camel-k-runtime-example-quarkus-groovy + + + true + false + + + + + + org.apache.camel.quarkus + camel-quarkus-bom + ${camel-quarkus.version} + pom + import + + + + + + + org.apache.camel.k + camel-k-runtime-quarkus + + + org.apache.camel.k + camel-k-quarkus-loader-groovy + + + + org.apache.camel.quarkus + camel-quarkus-log + + + org.apache.camel.quarkus + camel-quarkus-timer + + + + + + + io.quarkus + quarkus-bootstrap-maven-plugin + ${quarkus.version} + + + io.quarkus + quarkus-maven-plugin + ${quarkus.version} + + + build + + build + + + ${project.artifactId} + + + + + + org.codehaus.mojo + exec-maven-plugin + ${exec-maven-plugin.version} + + + + exec + + + + + java + ${project.basedir} + + -jar + ${project.build.directory}/${project.artifactId}-runner.jar + + + ${project.basedir}/data/application.properties + file:${project.basedir}/data/routes.groovy + + + + + + + diff --git a/examples/camel-k-runtime-example-quarkus-groovy/src/main/resources/application.properties b/examples/camel-k-runtime-example-quarkus-groovy/src/main/resources/application.properties new file mode 100644 index 000000000..3ac1675c3 --- /dev/null +++ b/examples/camel-k-runtime-example-quarkus-groovy/src/main/resources/application.properties @@ -0,0 +1,25 @@ +## --------------------------------------------------------------------------- +## 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. +## --------------------------------------------------------------------------- + +# +# quarkus +# +quarkus.log.file.enable = false +quarkus.log.console.enable = true + +quarkus.log.level = INFO +quarkus.log.category."org.apache.camel".level = INFO diff --git a/examples/camel-k-runtime-example-quarkus-java/data/MyRoutes.java b/examples/camel-k-runtime-example-quarkus-java/data/MyRoutes.java new file mode 100644 index 000000000..a72441113 --- /dev/null +++ b/examples/camel-k-runtime-example-quarkus-java/data/MyRoutes.java @@ -0,0 +1,25 @@ +/* + * 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. + */ +import org.apache.camel.builder.RouteBuilder; + +public class MyRoutes extends RouteBuilder { + @Override + public void configure() throws Exception { + from("timer:tick") + .to("log:info"); + } +} \ No newline at end of file diff --git a/examples/camel-k-runtime-example-quarkus-java/data/application.properties b/examples/camel-k-runtime-example-quarkus-java/data/application.properties new file mode 100644 index 000000000..b5802cec1 --- /dev/null +++ b/examples/camel-k-runtime-example-quarkus-java/data/application.properties @@ -0,0 +1,29 @@ +## --------------------------------------------------------------------------- +## 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. +## --------------------------------------------------------------------------- + +# +# camel - main +# +camel.main.name = camel-q +camel.main.stream-caching-enabled = true +camel.main.stream-caching-spool-directory = ${java.io.tmpdir}/camel-q + +# +# Integration +# +message = test-xs + diff --git a/examples/camel-k-runtime-example-quarkus-java/pom.xml b/examples/camel-k-runtime-example-quarkus-java/pom.xml new file mode 100644 index 000000000..6e18cc95f --- /dev/null +++ b/examples/camel-k-runtime-example-quarkus-java/pom.xml @@ -0,0 +1,118 @@ + + + + + + org.apache.camel.k + camel-k-runtime-examples + 1.0.9-SNAPSHOT + + + 4.0.0 + camel-k-runtime-example-quarkus-java + + + true + false + + + + + + org.apache.camel.quarkus + camel-quarkus-bom + ${camel-quarkus.version} + pom + import + + + + + + + org.apache.camel.k + camel-k-runtime-quarkus + + + org.apache.camel.k + camel-k-quarkus-loader-java + + + + org.apache.camel.quarkus + camel-quarkus-log + + + org.apache.camel.quarkus + camel-quarkus-timer + + + + + + + io.quarkus + quarkus-bootstrap-maven-plugin + ${quarkus.version} + + + io.quarkus + quarkus-maven-plugin + ${quarkus.version} + + + build + + build + + + ${project.artifactId} + + + + + + org.codehaus.mojo + exec-maven-plugin + ${exec-maven-plugin.version} + + + + exec + + + + + java + ${project.basedir} + + -jar + ${project.build.directory}/${project.artifactId}-runner.jar + + + ${project.basedir}/data/application.properties + file:${project.basedir}/data/MyRoutes.java + + + + + + + diff --git a/examples/camel-k-runtime-example-quarkus-java/src/main/resources/application.properties b/examples/camel-k-runtime-example-quarkus-java/src/main/resources/application.properties new file mode 100644 index 000000000..3ac1675c3 --- /dev/null +++ b/examples/camel-k-runtime-example-quarkus-java/src/main/resources/application.properties @@ -0,0 +1,25 @@ +## --------------------------------------------------------------------------- +## 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. +## --------------------------------------------------------------------------- + +# +# quarkus +# +quarkus.log.file.enable = false +quarkus.log.console.enable = true + +quarkus.log.level = INFO +quarkus.log.category."org.apache.camel".level = INFO diff --git a/examples/camel-k-runtime-example-quarkus-js/pom.xml b/examples/camel-k-runtime-example-quarkus-js/pom.xml index 60225f250..6a235be00 100644 --- a/examples/camel-k-runtime-example-quarkus-js/pom.xml +++ b/examples/camel-k-runtime-example-quarkus-js/pom.xml @@ -30,6 +30,7 @@ true + false diff --git a/examples/camel-k-runtime-example-quarkus-knative/pom.xml b/examples/camel-k-runtime-example-quarkus-knative/pom.xml index 19c1cb890..aa1eade63 100644 --- a/examples/camel-k-runtime-example-quarkus-knative/pom.xml +++ b/examples/camel-k-runtime-example-quarkus-knative/pom.xml @@ -28,6 +28,11 @@ 4.0.0 camel-k-runtime-example-quarkus-knative + + true + false + + diff --git a/examples/camel-k-runtime-example-quarkus-yaml/pom.xml b/examples/camel-k-runtime-example-quarkus-yaml/pom.xml index 2db92f32d..903c02341 100644 --- a/examples/camel-k-runtime-example-quarkus-yaml/pom.xml +++ b/examples/camel-k-runtime-example-quarkus-yaml/pom.xml @@ -30,6 +30,7 @@ true + false diff --git a/examples/pom.xml b/examples/pom.xml index ef46cadb9..b4b6b62e0 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -40,6 +40,8 @@ camel-k-runtime-example-quarkus-js camel-k-runtime-example-quarkus-yaml camel-k-runtime-example-quarkus-knative + camel-k-runtime-example-quarkus-groovy + camel-k-runtime-example-quarkus-java diff --git a/pom.xml b/pom.xml index 06e2127ea..778ef3421 100644 --- a/pom.xml +++ b/pom.xml @@ -377,6 +377,36 @@ camel-k-quarkus-loader-js-deployment ${project.version} + + org.apache.camel.k + camel-k-quarkus-loader-java + ${project.version} + + + org.apache.camel.k + camel-k-quarkus-loader-java-deployment + ${project.version} + + + org.apache.camel.k + camel-k-quarkus-loader-groovy + ${project.version} + + + org.apache.camel.k + camel-k-quarkus-loader-groovy-deployment + ${project.version} + + + org.apache.camel.k + camel-k-quarkus-loader-kotlin + ${project.version} + + + org.apache.camel.k + camel-k-quarkus-loader-kotlin-deployment + ${project.version} + org.apache.camel.k camel-k-quarkus-core