You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pp...@apache.org on 2020/10/01 14:53:45 UTC
[camel-quarkus] 01/02: Move examples to a separate git repository
#1691
This is an automated email from the ASF dual-hosted git repository.
ppalaga pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit 883c20afd14a400df48454df80f41f2e9a66e7b2
Author: Peter Palaga <pp...@redhat.com>
AuthorDate: Thu Oct 1 14:48:46 2020 +0200
Move examples to a separate git repository #1691
---
examples/README.adoc | 1 +
examples/file-split-log-xml/README.adoc | 66 --
examples/file-split-log-xml/pom.xml | 160 ----
.../main/java/org/acme/filereader/DummyClass.java | 20 -
.../src/main/resources/application.properties | 31 -
.../src/main/resources/file/customerlist.csv | 1001 --------------------
.../src/main/resources/routes/camel-routes.xml | 47 -
examples/health/README.adoc | 79 --
examples/health/pom.xml | 177 ----
.../main/java/org/acme/health/MyRouteBuilder.java | 32 -
.../org/acme/health/RunTooLongHealthCheck.java | 56 --
.../src/main/resources/application.properties | 77 --
examples/http-log/README.adoc | 111 ---
examples/http-log/pom.xml | 160 ----
examples/http-log/rss-memory.sh | 22 -
examples/http-log/run-many.sh | 29 -
.../src/main/java/org/acme/http/CamelRoute.java | 32 -
.../main/java/org/acme/http/ExampleResource.java | 32 -
.../main/resources/META-INF/resources/index.html | 170 ----
.../src/main/resources/application.properties | 37 -
examples/observability/README.adoc | 111 ---
examples/observability/pom.xml | 204 ----
.../main/java/org/acme/observability/Routes.java | 34 -
.../health/camel/CustomLivenessCheck.java | 50 -
.../health/camel/CustomReadinessCheck.java | 38 -
.../microprofile/CamelUptimeHealthCheck.java | 50 -
.../src/main/resources/application.properties | 32 -
.../org/acme/observability/ObservabilityIT.java | 23 -
.../org/acme/observability/ObservabilityTest.java | 66 --
examples/pom.xml | 48 -
examples/rest-json/README.adoc | 57 --
examples/rest-json/pom.xml | 149 ---
.../src/main/java/org/acme/rest/json/Fruit.java | 70 --
.../src/main/java/org/acme/rest/json/Legume.java | 70 --
.../src/main/java/org/acme/rest/json/Routes.java | 68 --
.../main/resources/META-INF/resources/fruits.html | 116 ---
.../main/resources/META-INF/resources/legumes.html | 79 --
.../src/main/resources/application.properties | 28 -
.../test/java/org/acme/rest/json/RestJsonIT.java | 27 -
.../test/java/org/acme/rest/json/RestJsonTest.java | 70 --
examples/timer-log-cdi/README.adoc | 57 --
examples/timer-log-cdi/pom.xml | 104 --
.../main/java/org/acme/timer/Configurations.java | 41 -
.../src/main/java/org/acme/timer/Counter.java | 37 -
.../src/main/java/org/acme/timer/TimerRoute.java | 54 --
.../src/main/resources/application.properties | 30 -
examples/timer-log-kotlin/pom.xml | 181 ----
.../src/main/kotlin/org/acme/timer/routes.kt | 32 -
.../src/main/resources/application.properties | 28 -
examples/timer-log-main/README.adoc | 56 --
examples/timer-log-main/pom.xml | 121 ---
.../src/main/java/org/acme/timer/Main.java | 28 -
.../src/main/java/org/acme/timer/TimerRoute.java | 34 -
.../src/main/resources/application.properties | 42 -
examples/timer-log-spring/README.adoc | 57 --
examples/timer-log-spring/pom.xml | 126 ---
.../src/main/java/org/acme/timer/Counter.java | 37 -
.../src/main/java/org/acme/timer/TimerRoute.java | 48 -
.../src/main/resources/application.properties | 32 -
examples/timer-log-xml/README.adoc | 58 --
examples/timer-log-xml/pom.xml | 141 ---
.../src/main/java/org/acme/timer/DummyClass.java | 20 -
.../src/main/java/org/acme/timer/package-info.java | 19 -
.../src/main/resources/application.properties | 33 -
.../src/main/resources/routes/my-routes.xml | 31 -
examples/timer-log/README.adoc | 57 --
examples/timer-log/pom.xml | 122 ---
.../src/main/java/org/acme/timer/TimerRoute.java | 28 -
.../src/main/resources/application.properties | 26 -
pom.xml | 1 -
70 files changed, 1 insertion(+), 5410 deletions(-)
diff --git a/examples/README.adoc b/examples/README.adoc
new file mode 100644
index 0000000..a72f6d5
--- /dev/null
+++ b/examples/README.adoc
@@ -0,0 +1 @@
+Camel Quarkus Examples were moved to a separate repository https://github.com/apache/camel-quarkus-examples
\ No newline at end of file
diff --git a/examples/file-split-log-xml/README.adoc b/examples/file-split-log-xml/README.adoc
deleted file mode 100644
index fa499de..0000000
--- a/examples/file-split-log-xml/README.adoc
+++ /dev/null
@@ -1,66 +0,0 @@
-= file-split-log-xml
-
-This is a basic hello world example that uses XML to set-up a Camel file consumer which reads a file in the resources folder.
-
-It demonstrates the following;
-1. Reading a file using camel file endpoint as a consumer.
-2. Splitting the file by row.
-3. Splitting the row by columns.
-4. Usage of properties in the camel endpoint uri.
-5. No Java code required or used, the XML can still be compiled to native code. Pretty cool.
-
-The file consumer has been marked as non-idempotent thus it will read the same file again using a configurable 30 second delay.
-
-TIP: Check the https://camel.apache.org/camel-quarkus/latest/first-steps.html[Camel Quarkus User guide] for prerequisites
-and other general information.
-
-== Start in the Development mode
-
-[source,shell]
-----
-$ mvn clean compile quarkus:dev
-----
-
-The above command compiles the project, starts the application and lets the Quarkus tooling watch for changes in your
-workspace. Any modifications in your project will automatically take effect in the running application.
-
-TIP: Please refer to the Development mode section of
-https://camel.apache.org/camel-quarkus/latest/first-steps.html#_development_mode[Camel Quarkus User guide] for more details.
-
-Once the application has started it will wait 5 seconds and then read the file every 30 seconds. By default the row split
-is sequential however you can edit the properties file and set the parallel processing to true. The output should then be
-a little more out of order i.e. non-sequential processing of rows.
-
-=== Package and run the application
-
-Once you are done with developing you may want to package and run the application.
-
-TIP: Find more details about the JVM mode and Native mode in the Package and run section of
-https://camel.apache.org/camel-quarkus/latest/first-steps.html#_package_and_run_the_application[Camel Quarkus User guide]
-
-==== JVM mode
-
-[source,shell]
-----
-$ mvn clean package
-$ java -jar target/*-runner.jar
-...
-
-[io.quarkus] (main) camel-quarkus-examples-... started in 0.570s.
-----
-
-==== Native mode
-
-IMPORTANT: Native mode requires having GraalVM and other tools installed. Please check the Prerequisites section
-of https://camel.apache.org/camel-quarkus/latest/first-steps.html#_prerequisites[Camel Quarkus User guide].
-
-To prepare a native executable using GraalVM, run the following command:
-
-[source,shell]
-----
-$ mvn clean package -Pnative
-$ ./target/*-runner
-...
-[io.quarkus] (main) camel-quarkus-examples-... started in 0.011s.
-...
-----
diff --git a/examples/file-split-log-xml/pom.xml b/examples/file-split-log-xml/pom.xml
deleted file mode 100644
index 012311c..0000000
--- a/examples/file-split-log-xml/pom.xml
+++ /dev/null
@@ -1,160 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- 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.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <parent>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-build-parent</artifactId>
- <version>1.2.0-SNAPSHOT</version>
- <relativePath>../../poms/build-parent/pom.xml</relativePath>
- </parent>
-
- <modelVersion>4.0.0</modelVersion>
-
-
-
- <artifactId>camel-quarkus-examples-file-log-xml</artifactId>
- <name>Camel Quarkus :: Examples :: File To Log XML DSL</name>
- <description>Camel Quarkus Example :: File To Log XML DSL</description>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-main</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-timer</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-log</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-xml-io</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-file</artifactId>
- </dependency>
-
- <!-- The following dependencies guarantee that this module is built after them. You can update them by running `mvn process-resources -Pformat -N` from the source tree root directory -->
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-file-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-log-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-main-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-timer-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-xml-io-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>io.quarkus</groupId>
- <artifactId>quarkus-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>build</id>
- <goals>
- <goal>build</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <workingDir>${project.basedir}</workingDir>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
- <profiles>
- <profile>
- <id>native</id>
- <activation>
- <property>
- <name>native</name>
- </property>
- </activation>
- <properties>
- <quarkus.package.type>native</quarkus.package.type>
- </properties>
- </profile>
- </profiles>
-
-</project>
diff --git a/examples/file-split-log-xml/src/main/java/org/acme/filereader/DummyClass.java b/examples/file-split-log-xml/src/main/java/org/acme/filereader/DummyClass.java
deleted file mode 100644
index 0eef945..0000000
--- a/examples/file-split-log-xml/src/main/java/org/acme/filereader/DummyClass.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * 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.acme.filereader;
-
-public class DummyClass {
-}
diff --git a/examples/file-split-log-xml/src/main/resources/application.properties b/examples/file-split-log-xml/src/main/resources/application.properties
deleted file mode 100644
index 75988ad..0000000
--- a/examples/file-split-log-xml/src/main/resources/application.properties
+++ /dev/null
@@ -1,31 +0,0 @@
-## ---------------------------------------------------------------------------
-## 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.banner.enabled = false
-
-quarkus.log.category."org.apache.camel.main".level = DEBUG
-
-#
-# Camel
-#
-camel.context.name = camel-quarkus-xml
-camel.main.xml-routes = file:src/main/resources/routes/camel-routes.xml
-camel.file.route.folder = src/main/resources/file
-camel.file.repeat.interval = 30000
-camel.file.split.parallel = false
\ No newline at end of file
diff --git a/examples/file-split-log-xml/src/main/resources/file/customerlist.csv b/examples/file-split-log-xml/src/main/resources/file/customerlist.csv
deleted file mode 100644
index 8db6efa..0000000
--- a/examples/file-split-log-xml/src/main/resources/file/customerlist.csv
+++ /dev/null
@@ -1,1001 +0,0 @@
-name,surname
-Michael,SMITH
-James,JOHNSON
-John,WILLIAMS
-Robert,BROWN
-David,JONES
-William,MILLER
-Mary,DAVIS
-Christopher,GARCIA
-Joseph,RODRIGUEZ
-Richard,WILSON
-Daniel,MARTINEZ
-Thomas,ANDERSON
-Matthew,TAYLOR
-Jennifer,THOMAS
-Charles,HERNANDEZ
-Anthony,MOORE
-Patricia,MARTIN
-Linda,JACKSON
-Mark,THOMPSON
-Elizabeth,WHITE
-Joshua,LOPEZ
-Steven,LEE
-Andrew,GONZALEZ
-Kevin,HARRIS
-Brian,CLARK
-Barbara,LEWIS
-Jessica,ROBINSON
-Jason,WALKER
-Susan,PEREZ
-Timothy,HALL
-Paul,YOUNG
-Kenneth,ALLEN
-Lisa,SANCHEZ
-Ryan,WRIGHT
-Sarah,KING
-Karen,SCOTT
-Jeffrey,GREEN
-Donald,BAKER
-Ashley,ADAMS
-Eric,NELSON
-Jacob,HILL
-Nicholas,RAMIREZ
-Jonathan,CAMPBELL
-Ronald,MITCHELL
-Michelle,ROBERTS
-Kimberly,CARTER
-Nancy,PHILLIPS
-Justin,EVANS
-Sandra,TURNER
-Amanda,TORRES
-Brandon,PARKER
-Stephanie,COLLINS
-Emily,EDWARDS
-Melissa,STEWART
-Gary,FLORES
-Edward,MORRIS
-Stephen,NGUYEN
-Scott,MURPHY
-George,RIVERA
-Donna,COOK
-Jose,ROGERS
-Rebecca,MORGAN
-Deborah,PETERSON
-Laura,COOPER
-Cynthia,REED
-Carol,BAILEY
-Amy,BELL
-Margaret,GOMEZ
-Gregory,KELLY
-Sharon,HOWARD
-Larry,WARD
-Angela,COX
-Maria,DIAZ
-Alexander,RICHARDSON
-Benjamin,WOOD
-Nicole,WATSON
-Kathleen,BROOKS
-Patrick,BENNETT
-Samantha,GRAY
-Tyler,JAMES
-Samuel,REYES
-Betty,CRUZ
-Brenda,HUGHES
-Pamela,PRICE
-Aaron,MYERS
-Kelly,LONG
-Heather,FOSTER
-Rachel,SANDERS
-Adam,ROSS
-Christine,MORALES
-Zachary,POWELL
-Debra,SULLIVAN
-Katherine,RUSSELL
-Dennis,ORTIZ
-Nathan,JENKINS
-Christina,GUTIERREZ
-Julie,PERRY
-Jordan,BUTLER
-Kyle,BARNES
-Anna,FISHER
-Michael,HENDERSON
-James,COLEMAN
-John,SIMMONS
-Robert,PATTERSON
-David,JORDAN
-William,REYNOLDS
-Mary,HAMILTON
-Christopher,GRAHAM
-Joseph,KIM
-Richard,GONZALES
-Daniel,ALEXANDER
-Thomas,RAMOS
-Matthew,WALLACE
-Jennifer,GRIFFIN
-Charles,WEST
-Anthony,COLE
-Patricia,HAYES
-Linda,CHAVEZ
-Mark,GIBSON
-Elizabeth,BRYANT
-Joshua,ELLIS
-Steven,STEVENS
-Andrew,MURRAY
-Kevin,FORD
-Brian,MARSHALL
-Barbara,OWENS
-Jessica,MCDONALD
-Jason,HARRISON
-Susan,RUIZ
-Timothy,KENNEDY
-Paul,WELLS
-Kenneth,ALVAREZ
-Lisa,WOODS
-Ryan,MENDOZA
-Sarah,CASTILLO
-Karen,OLSON
-Jeffrey,WEBB
-Donald,WASHINGTON
-Ashley,TUCKER
-Eric,FREEMAN
-Jacob,BURNS
-Nicholas,HENRY
-Jonathan,VASQUEZ
-Ronald,SNYDER
-Michelle,SIMPSON
-Kimberly,CRAWFORD
-Nancy,JIMENEZ
-Justin,PORTER
-Sandra,MASON
-Amanda,SHAW
-Brandon,GORDON
-Stephanie,WAGNER
-Emily,HUNTER
-Melissa,ROMERO
-Gary,HICKS
-Edward,DIXON
-Stephen,HUNT
-Scott,PALMER
-George,ROBERTSON
-Donna,BLACK
-Jose,HOLMES
-Rebecca,STONE
-Deborah,MEYER
-Laura,BOYD
-Cynthia,MILLS
-Carol,WARREN
-Amy,FOX
-Margaret,ROSE
-Gregory,RICE
-Sharon,MORENO
-Larry,SCHMIDT
-Angela,PATEL
-Maria,FERGUSON
-Alexander,NICHOLS
-Benjamin,HERRERA
-Nicole,MEDINA
-Kathleen,RYAN
-Patrick,FERNANDEZ
-Samantha,WEAVER
-Tyler,DANIELS
-Samuel,STEPHENS
-Betty,GARDNER
-Brenda,PAYNE
-Pamela,KELLEY
-Aaron,DUNN
-Kelly,PIERCE
-Heather,ARNOLD
-Rachel,TRAN
-Adam,SPENCER
-Christine,PETERS
-Zachary,HAWKINS
-Debra,GRANT
-Katherine,HANSEN
-Dennis,CASTRO
-Nathan,HOFFMAN
-Christina,HART
-Julie,ELLIOTT
-Jordan,CUNNINGHAM
-Kyle,KNIGHT
-Anna,BRADLEY
-Michael,CARROLL
-James,HUDSON
-John,DUNCAN
-Robert,ARMSTRONG
-David,BERRY
-William,ANDREWS
-Mary,JOHNSTON
-Christopher,RAY
-Joseph,LANE
-Richard,RILEY
-Daniel,CARPENTER
-Thomas,PERKINS
-Matthew,AGUILAR
-Jennifer,SILVA
-Charles,RICHARDS
-Anthony,WILLIS
-Patricia,MATTHEWS
-Linda,CHAPMAN
-Mark,LAWRENCE
-Elizabeth,GARZA
-Joshua,VARGAS
-Steven,WATKINS
-Andrew,WHEELER
-Kevin,LARSON
-Brian,CARLSON
-Barbara,HARPER
-Jessica,GEORGE
-Jason,GREENE
-Susan,BURKE
-Timothy,GUZMAN
-Paul,MORRISON
-Kenneth,MUNOZ
-Lisa,JACOBS
-Ryan,OBRIEN
-Sarah,LAWSON
-Karen,FRANKLIN
-Jeffrey,LYNCH
-Donald,BISHOP
-Ashley,CARR
-Eric,SALAZAR
-Jacob,AUSTIN
-Nicholas,MENDEZ
-Jonathan,GILBERT
-Ronald,JENSEN
-Michelle,WILLIAMSON
-Kimberly,MONTGOMERY
-Nancy,HARVEY
-Justin,OLIVER
-Sandra,HOWELL
-Amanda,DEAN
-Brandon,HANSON
-Stephanie,WEBER
-Emily,GARRETT
-Melissa,SIMS
-Gary,BURTON
-Edward,FULLER
-Stephen,SOTO
-Scott,MCCOY
-George,WELCH
-Donna,CHEN
-Jose,SCHULTZ
-Rebecca,WALTERS
-Deborah,REID
-Laura,FIELDS
-Cynthia,WALSH
-Carol,LITTLE
-Amy,FOWLER
-Margaret,BOWMAN
-Gregory,DAVIDSON
-Sharon,MAY
-Larry,DAY
-Angela,SCHNEIDER
-Maria,NEWMAN
-Alexander,BREWER
-Benjamin,LUCAS
-Nicole,HOLLAND
-Kathleen,WONG
-Patrick,BANKS
-Samantha,SANTOS
-Tyler,CURTIS
-Samuel,PEARSON
-Betty,DELGADO
-Brenda,VALDEZ
-Pamela,PENA
-Aaron,RIOS
-Kelly,DOUGLAS
-Heather,SANDOVAL
-Rachel,BARRETT
-Adam,HOPKINS
-Christine,KELLER
-Zachary,GUERRERO
-Debra,STANLEY
-Katherine,BATES
-Dennis,ALVARADO
-Nathan,BECK
-Christina,ORTEGA
-Julie,WADE
-Jordan,ESTRADA
-Kyle,CONTRERAS
-Anna,BARNETT
-Michael,CALDWELL
-James,SANTIAGO
-John,LAMBERT
-Robert,POWERS
-David,CHAMBERS
-William,NUNEZ
-Mary,CRAIG
-Christopher,LEONARD
-Joseph,LOWE
-Richard,RHODES
-Daniel,BYRD
-Thomas,GREGORY
-Matthew,SHELTON
-Jennifer,FRAZIER
-Charles,BECKER
-Anthony,MALDONADO
-Patricia,FLEMING
-Linda,VEGA
-Mark,SUTTON
-Elizabeth,COHEN
-Joshua,JENNINGS
-Steven,PARKS
-Andrew,MCDANIEL
-Kevin,WATTS
-Brian,BARKER
-Barbara,NORRIS
-Jessica,VAUGHN
-Jason,VAZQUEZ
-Susan,HOLT
-Timothy,SCHWARTZ
-Paul,STEELE
-Kenneth,BENSON
-Lisa,NEAL
-Ryan,DOMINGUEZ
-Sarah,HORTON
-Karen,TERRY
-Jeffrey,WOLFE
-Donald,HALE
-Ashley,LYONS
-Eric,GRAVES
-Jacob,HAYNES
-Nicholas,MILES
-Jonathan,PARK
-Ronald,WARNER
-Michelle,PADILLA
-Kimberly,BUSH
-Nancy,THORNTON
-Justin,MCCARTHY
-Sandra,MANN
-Amanda,ZIMMERMAN
-Brandon,ERICKSON
-Stephanie,FLETCHER
-Emily,MCKINNEY
-Melissa,PAGE
-Gary,DAWSON
-Edward,JOSEPH
-Stephen,MARQUEZ
-Scott,REEVES
-George,KLEIN
-Donna,ESPINOZA
-Jose,BALDWIN
-Rebecca,MORAN
-Deborah,LOVE
-Laura,ROBBINS
-Cynthia,HIGGINS
-Carol,BALL
-Amy,CORTEZ
-Margaret,LE
-Gregory,GRIFFITH
-Sharon,BOWEN
-Larry,SHARP
-Angela,CUMMINGS
-Maria,RAMSEY
-Alexander,HARDY
-Benjamin,SWANSON
-Nicole,BARBER
-Kathleen,ACOSTA
-Patrick,LUNA
-Samantha,CHANDLER
-Tyler,BLAIR
-Samuel,DANIEL
-Betty,CROSS
-Brenda,SIMON
-Pamela,DENNIS
-Aaron,OCONNOR
-Kelly,QUINN
-Heather,GROSS
-Rachel,NAVARRO
-Adam,MOSS
-Christine,FITZGERALD
-Zachary,DOYLE
-Debra,MCLAUGHLIN
-Katherine,ROJAS
-Dennis,RODGERS
-Nathan,STEVENSON
-Christina,SINGH
-Julie,YANG
-Jordan,FIGUEROA
-Kyle,HARMON
-Anna,NEWTON
-Michael,PAUL
-James,MANNING
-John,GARNER
-Robert,MCGEE
-David,REESE
-William,FRANCIS
-Mary,BURGESS
-Christopher,ADKINS
-Joseph,GOODMAN
-Richard,CURRY
-Daniel,BRADY
-Thomas,CHRISTENSEN
-Matthew,POTTER
-Jennifer,WALTON
-Charles,GOODWIN
-Anthony,MULLINS
-Patricia,MOLINA
-Linda,WEBSTER
-Mark,FISCHER
-Elizabeth,CAMPOS
-Joshua,AVILA
-Steven,SHERMAN
-Andrew,TODD
-Kevin,CHANG
-Brian,BLAKE
-Barbara,MALONE
-Jessica,WOLF
-Jason,HODGES
-Susan,JUAREZ
-Timothy,GILL
-Paul,FARMER
-Kenneth,HINES
-Lisa,GALLAGHER
-Ryan,DURAN
-Sarah,HUBBARD
-Karen,CANNON
-Jeffrey,MIRANDA
-Donald,WANG
-Ashley,SAUNDERS
-Eric,TATE
-Jacob,MACK
-Nicholas,HAMMOND
-Jonathan,CARRILLO
-Ronald,TOWNSEND
-Michelle,WISE
-Kimberly,INGRAM
-Nancy,BARTON
-Justin,MEJIA
-Sandra,AYALA
-Amanda,SCHROEDER
-Brandon,HAMPTON
-Stephanie,ROWE
-Emily,PARSONS
-Melissa,FRANK
-Gary,WATERS
-Edward,STRICKLAND
-Stephen,OSBORNE
-Scott,MAXWELL
-George,CHAN
-Donna,DELEON
-Jose,NORMAN
-Rebecca,HARRINGTON
-Deborah,CASEY
-Laura,PATTON
-Cynthia,LOGAN
-Carol,BOWERS
-Amy,MUELLER
-Margaret,GLOVER
-Gregory,FLOYD
-Sharon,HARTMAN
-Larry,BUCHANAN
-Angela,COBB
-Maria,FRENCH
-Alexander,KRAMER
-Benjamin,MCCORMICK
-Nicole,CLARKE
-Kathleen,TYLER
-Patrick,GIBBS
-Samantha,MOODY
-Tyler,CONNER
-Samuel,SPARKS
-Betty,MCGUIRE
-Brenda,LEON
-Pamela,BAUER
-Aaron,NORTON
-Kelly,POPE
-Heather,FLYNN
-Rachel,HOGAN
-Adam,ROBLES
-Christine,SALINAS
-Zachary,YATES
-Debra,LINDSEY
-Katherine,LLOYD
-Dennis,MARSH
-Nathan,MCBRIDE
-Christina,OWEN
-Julie,SOLIS
-Jordan,PHAM
-Kyle,LANG
-Anna,PRATT
-Michael,LARA
-James,BROCK
-John,BALLARD
-Robert,TRUJILLO
-David,SHAFFER
-William,DRAKE
-Mary,ROMAN
-Christopher,AGUIRRE
-Joseph,MORTON
-Richard,STOKES
-Daniel,LAMB
-Thomas,PACHECO
-Matthew,PATRICK
-Jennifer,COCHRAN
-Charles,SHEPHERD
-Anthony,CAIN
-Patricia,BURNETT
-Linda,HESS
-Mark,LI
-Elizabeth,CERVANTES
-Joshua,OLSEN
-Steven,BRIGGS
-Andrew,OCHOA
-Kevin,CABRERA
-Brian,VELASQUEZ
-Barbara,MONTOYA
-Jessica,ROTH
-Jason,MEYERS
-Susan,CARDENAS
-Timothy,FUENTES
-Paul,WEISS
-Kenneth,HOOVER
-Lisa,WILKINS
-Ryan,NICHOLSON
-Sarah,UNDERWOOD
-Karen,SHORT
-Jeffrey,CARSON
-Donald,MORROW
-Ashley,COLON
-Eric,HOLLOWAY
-Jacob,SUMMERS
-Nicholas,BRYAN
-Jonathan,PETERSEN
-Ronald,MCKENZIE
-Michelle,SERRANO
-Kimberly,WILCOX
-Nancy,CAREY
-Justin,CLAYTON
-Sandra,POOLE
-Amanda,CALDERON
-Brandon,GALLEGOS
-Stephanie,GREER
-Emily,RIVAS
-Melissa,GUERRA
-Gary,DECKER
-Edward,COLLIER
-Stephen,WALL
-Scott,WHITAKER
-George,BASS
-Donna,FLOWERS
-Jose,DAVENPORT
-Rebecca,CONLEY
-Deborah,HOUSTON
-Laura,HUFF
-Cynthia,COPELAND
-Carol,HOOD
-Amy,MONROE
-Margaret,MASSEY
-Gregory,ROBERSON
-Sharon,COMBS
-Larry,FRANCO
-Angela,LARSEN
-Maria,PITTMAN
-Alexander,RANDALL
-Benjamin,SKINNER
-Nicole,WILKINSON
-Kathleen,KIRBY
-Patrick,CAMERON
-Samantha,BRIDGES
-Tyler,ANTHONY
-Samuel,RICHARD
-Betty,KIRK
-Brenda,BRUCE
-Pamela,SINGLETON
-Aaron,MATHIS
-Kelly,BRADFORD
-Heather,BOONE
-Rachel,ABBOTT
-Adam,CHARLES
-Christine,ALLISON
-Zachary,SWEENEY
-Debra,ATKINSON
-Katherine,HORN
-Dennis,JEFFERSON
-Nathan,ROSALES
-Christina,YORK
-Julie,CHRISTIAN
-Jordan,PHELPS
-Kyle,FARRELL
-Anna,CASTANEDA
-Michael,NASH
-James,DICKERSON
-John,BOND
-Robert,WYATT
-David,FOLEY
-William,CHASE
-Mary,GATES
-Christopher,VINCENT
-Joseph,MATHEWS
-Richard,HODGE
-Daniel,GARRISON
-Thomas,TREVINO
-Matthew,VILLARREAL
-Jennifer,HEATH
-Charles,DALTON
-Anthony,VALENCIA
-Patricia,CALLAHAN
-Linda,HENSLEY
-Mark,ATKINS
-Elizabeth,HUFFMAN
-Joshua,ROY
-Steven,BOYER
-Andrew,SHIELDS
-Kevin,LIN
-Brian,HANCOCK
-Barbara,GRIMES
-Jessica,GLENN
-Jason,CLINE
-Susan,DELACRUZ
-Timothy,CAMACHO
-Paul,DILLON
-Kenneth,PARRISH
-Lisa,ONEILL
-Ryan,MELTON
-Sarah,BOOTH
-Karen,KANE
-Jeffrey,BERG
-Donald,HARRELL
-Ashley,PITTS
-Eric,SAVAGE
-Jacob,WIGGINS
-Nicholas,BRENNAN
-Jonathan,SALAS
-Ronald,MARKS
-Michelle,RUSSO
-Kimberly,SAWYER
-Nancy,BAXTER
-Justin,GOLDEN
-Sandra,HUTCHINSON
-Amanda,LIU
-Brandon,WALTER
-Stephanie,MCDOWELL
-Emily,WILEY
-Melissa,RICH
-Gary,HUMPHREY
-Edward,JOHNS
-Stephen,KOCH
-Scott,SUAREZ
-George,HOBBS
-Donna,BEARD
-Jose,GILMORE
-Rebecca,IBARRA
-Deborah,KEITH
-Laura,MACIAS
-Cynthia,KHAN
-Carol,ANDRADE
-Amy,WARE
-Margaret,STEPHENSON
-Gregory,HENSON
-Sharon,WILKERSON
-Larry,DYER
-Angela,MCCLURE
-Maria,BLACKWELL
-Alexander,MERCADO
-Benjamin,TANNER
-Nicole,EATON
-Kathleen,CLAY
-Patrick,BARRON
-Samantha,BEASLEY
-Tyler,ONEAL
-Samuel,PRESTON
-Betty,SMALL
-Brenda,WU
-Pamela,ZAMORA
-Aaron,MACDONALD
-Kelly,VANCE
-Heather,SNOW
-Rachel,MCCLAIN
-Adam,STAFFORD
-Christine,OROZCO
-Zachary,BARRY
-Debra,ENGLISH
-Katherine,SHANNON
-Dennis,KLINE
-Nathan,JACOBSON
-Christina,WOODARD
-Julie,HUANG
-Jordan,KEMP
-Kyle,MOSLEY
-Anna,PRINCE
-Michael,MERRITT
-James,HURST
-John,VILLANUEVA
-Robert,ROACH
-David,NOLAN
-William,LAM
-Mary,YODER
-Christopher,MCCULLOUGH
-Joseph,LESTER
-Richard,SANTANA
-Daniel,VALENZUELA
-Thomas,WINTERS
-Matthew,BARRERA
-Jennifer,LEACH
-Charles,ORR
-Anthony,BERGER
-Patricia,MCKEE
-Linda,STRONG
-Mark,CONWAY
-Elizabeth,STEIN
-Joshua,WHITEHEAD
-Steven,BULLOCK
-Andrew,ESCOBAR
-Kevin,KNOX
-Brian,MEADOWS
-Barbara,SOLOMON
-Jessica,VELEZ
-Jason,ODONNELL
-Susan,KERR
-Timothy,STOUT
-Paul,BLANKENSHIP
-Kenneth,BROWNING
-Lisa,KENT
-Ryan,LOZANO
-Sarah,BARTLETT
-Karen,PRUITT
-Jeffrey,BUCK
-Donald,BARR
-Ashley,GAINES
-Eric,DURHAM
-Jacob,GENTRY
-Nicholas,MCINTYRE
-Jonathan,SLOAN
-Ronald,ROCHA
-Michelle,MELENDEZ
-Kimberly,HERMAN
-Nancy,SEXTON
-Justin,MOON
-Sandra,HENDRICKS
-Amanda,RANGEL
-Brandon,STARK
-Stephanie,LOWERY
-Emily,HARDIN
-Melissa,HULL
-Gary,SELLERS
-Edward,ELLISON
-Stephen,CALHOUN
-Scott,GILLESPIE
-George,MORA
-Donna,KNAPP
-Jose,MCCALL
-Rebecca,MORSE
-Deborah,DORSEY
-Laura,WEEKS
-Cynthia,NIELSEN
-Carol,LIVINGSTON
-Amy,LEBLANC
-Margaret,MCLEAN
-Gregory,BRADSHAW
-Sharon,GLASS
-Larry,MIDDLETON
-Angela,BUCKLEY
-Maria,SCHAEFER
-Alexander,FROST
-Benjamin,HOWE
-Nicole,HOUSE
-Kathleen,MCINTOSH
-Patrick,HO
-Samantha,PENNINGTON
-Tyler,REILLY
-Samuel,HEBERT
-Betty,MCFARLAND
-Brenda,HICKMAN
-Pamela,NOBLE
-Aaron,SPEARS
-Kelly,CONRAD
-Heather,ARIAS
-Rachel,GALVAN
-Adam,VELAZQUEZ
-Christine,HUYNH
-Zachary,FREDERICK
-Debra,RANDOLPH
-Katherine,CANTU
-Dennis,FITZPATRICK
-Nathan,MAHONEY
-Christina,PECK
-Julie,VILLA
-Jordan,MICHAEL
-Kyle,DONOVAN
-Anna,MCCONNELL
-Michael,WALLS
-James,BOYLE
-John,MAYER
-Robert,ZUNIGA
-David,GILES
-William,PINEDA
-Mary,PACE
-Christopher,HURLEY
-Joseph,MAYS
-Richard,MCMILLAN
-Daniel,CROSBY
-Thomas,AYERS
-Matthew,CASE
-Jennifer,BENTLEY
-Charles,SHEPARD
-Anthony,EVERETT
-Patricia,PUGH
-Linda,DAVID
-Mark,MCMAHON
-Elizabeth,DUNLAP
-Joshua,BENDER
-Steven,HAHN
-Andrew,HARDING
-Kevin,ACEVEDO
-Brian,RAYMOND
-Barbara,BLACKBURN
-Jessica,DUFFY
-Jason,LANDRY
-Susan,DOUGHERTY
-Timothy,BAUTISTA
-Paul,SHAH
-Kenneth,POTTS
-Lisa,ARROYO
-Ryan,VALENTINE
-Sarah,MEZA
-Karen,GOULD
-Jeffrey,VAUGHAN
-Donald,FRY
-Ashley,RUSH
-Eric,AVERY
-Jacob,HERRING
-Nicholas,DODSON
-Jonathan,CLEMENTS
-Ronald,SAMPSON
-Michelle,TAPIA
-Kimberly,BEAN
-Nancy,LYNN
-Justin,CRANE
-Sandra,FARLEY
-Amanda,CISNEROS
-Brandon,BENTON
-Stephanie,ASHLEY
-Emily,MCKAY
-Melissa,FINLEY
-Gary,BEST
-Edward,BLEVINS
-Stephen,FRIEDMAN
-Scott,MOSES
-George,SOSA
-Donna,BLANCHARD
-Jose,HUBER
-Rebecca,FRYE
-Deborah,KRUEGER
-Laura,BERNARD
-Cynthia,ROSARIO
-Carol,RUBIO
-Amy,MULLEN
-Margaret,BENJAMIN
-Gregory,HALEY
-Sharon,CHUNG
-Larry,MOYER
-Angela,CHOI
-Maria,HORNE
-Alexander,YU
-Benjamin,WOODWARD
-Nicole,ALI
-Kathleen,NIXON
-Patrick,HAYDEN
-Samantha,RIVERS
-Tyler,ESTES
-Samuel,MCCARTY
-Betty,RICHMOND
-Brenda,STUART
-Pamela,MAYNARD
-Aaron,BRANDT
-Kelly,OCONNELL
-Heather,HANNA
-Rachel,SANFORD
-Adam,SHEPPARD
-Christine,CHURCH
-Zachary,BURCH
-Debra,LEVY
-Katherine,RASMUSSEN
-Dennis,COFFEY
-Nathan,PONCE
-Christina,FAULKNER
-Julie,DONALDSON
-Jordan,SCHMITT
-Kyle,NOVAK
-Anna,COSTA
-Michael,MONTES
-James,BOOKER
-John,CORDOVA
-Robert,WALLER
-David,ARELLANO
-William,MADDOX
-Mary,MATA
-Christopher,BONILLA
-Joseph,STANTON
-Richard,COMPTON
-Daniel,KAUFMAN
-Thomas,DUDLEY
-Matthew,MCPHERSON
-Jennifer,BELTRAN
-Charles,DICKSON
-Anthony,MCCANN
-Patricia,VILLEGAS
-Linda,PROCTOR
-Mark,HESTER
-Elizabeth,CANTRELL
-Joshua,DAUGHERTY
-Steven,CHERRY
-Andrew,BRAY
-Kevin,DAVILA
-Brian,ROWLAND
-Barbara,LEVINE
-Jessica,MADDEN
-Jason,SPENCE
-Susan,GOOD
-Timothy,IRWIN
-Paul,WERNER
-Kenneth,KRAUSE
-Lisa,PETTY
-Ryan,WHITNEY
-Sarah,BAIRD
-Karen,HOOPER
-Jeffrey,POLLARD
-Donald,ZAVALA
-Ashley,JARVIS
-Eric,HOLDEN
-Jacob,HAAS
-Nicholas,HENDRIX
-Jonathan,MCGRATH
-Ronald,BIRD
-Michelle,LUCERO
-Kimberly,TERRELL
-Nancy,RIGGS
-Justin,JOYCE
-Sandra,MERCER
-Amanda,ROLLINS
-Brandon,GALLOWAY
-Stephanie,DUKE
-Emily,ODOM
-Melissa,ANDERSEN
-Gary,DOWNS
-Edward,HATFIELD
-Stephen,BENITEZ
-Scott,ARCHER
-George,HUERTA
-Donna,TRAVIS
-Jose,MCNEIL
-Rebecca,HINTON
-Deborah,ZHANG
-Laura,HAYS
-Cynthia,MAYO
-Carol,FRITZ
-Amy,BRANCH
-Margaret,MOONEY
-Gregory,EWING
-Sharon,RITTER
-Larry,ESPARZA
-Angela,FREY
-Maria,BRAUN
-Alexander,GAY
-Benjamin,RIDDLE
-Nicole,HANEY
-Kathleen,KAISER
-Patrick,HOLDER
-Samantha,CHANEY
-Tyler,MCKNIGHT
-Samuel,GAMBLE
-Betty,VANG
-Brenda,COOLEY
-Pamela,CARNEY
-Aaron,COWAN
-Kelly,FORBES
-Heather,FERRELL
-Rachel,DAVIES
-Adam,BARAJAS
-Christine,SHEA
-Zachary,OSBORN
-Debra,BRIGHT
-Katherine,CUEVAS
-Dennis,BOLTON
-Nathan,MURILLO
-Christina,LUTZ
-Julie,DUARTE
-Jordan,KIDD
-Kyle,KEY
-Anna,COOKE
diff --git a/examples/file-split-log-xml/src/main/resources/routes/camel-routes.xml b/examples/file-split-log-xml/src/main/resources/routes/camel-routes.xml
deleted file mode 100644
index c98e7b6..0000000
--- a/examples/file-split-log-xml/src/main/resources/routes/camel-routes.xml
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- 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.
-
--->
-
-<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
- http://camel.apache.org/schema/spring/camel-spring.xsd">
-
- <route id="file-xml-route">
- <from uri="file:{{camel.file.route.folder}}?noop=true&delay={{camel.file.repeat.interval}}&idempotent=false&initialDelay=5000"/>
- <split parallelProcessing="{{camel.file.split.parallel}}">
- <tokenize token="\n"/>
- <log message="line ${headers.CamelSplitIndex} contains: ${body}"/>
- <split>
- <tokenize token=","/>
- <choice>
- <when>
- <simple>${headers.CamelSplitIndex} == 0</simple>
- <log message="Name is: ${body}"/>
- </when>
- <otherwise>
- <log message="Surname is: ${body}"/>
- </otherwise>
- </choice>
- </split>
- </split>
- </route>
-
-</routes>
\ No newline at end of file
diff --git a/examples/health/README.adoc b/examples/health/README.adoc
deleted file mode 100644
index d61bc6b..0000000
--- a/examples/health/README.adoc
+++ /dev/null
@@ -1,79 +0,0 @@
-== Camel Quarkus Example Health
-
-This example shows how to use Camel health-check with Quarkus.
-The example shows how you can build custom health-checks and have
-them automatic discovered by Camel and used as parts of its health-check system.
-
-TIP: Check the https://camel.apache.org/camel-quarkus/latest/first-steps.html[Camel Quarkus User guide] for prerequisites
-and other general information.
-
-The example has two routes. The timer route performs a given task at regular interval. For the sake of this example we'll say
-that this task unexpectedly freezes the service from time to time. The details can be consulted at http://localhost:8080/health.
-The custom health check is expected to report UNKNOWN on first consultation, then UP during 10 seconds, and finally DOWN so as to
-simulate that the service is frozen.
-
-The 2nd route is on purpose made to fail on startup by configuring netty to an unknown host.
-Camel supervising route controller will attempt to restart the route up till 10 times before exhausting.
-The routes health check will therefore report this route as DOWN until its exhausted where the states are changed to UNKNOWN.
-
-The details can be seen at runtime via the following url from a web browser: http://localhost:8080/health.
-
-=== Start in the Development mode
-
-[source,shell]
-----
-$ mvn clean compile quarkus:dev
-----
-
-The above command compiles the project, starts the application and lets the Quarkus tooling watch for changes in your
-workspace. Any modifications in your project will automatically take effect in the running application.
-
-TIP: Please refer to the Development mode section of
-https://camel.apache.org/camel-quarkus/latest/first-steps.html#_development_mode[Camel Quarkus User guide] for more details.
-
-You can check the health check status by calling the following url from a web browser: http://localhost:8080/health
-
-=== Package and run the application
-
-Once you are done with developing you may want to package and run the application.
-
-TIP: Find more details about the JVM mode and Native mode in the Package and run section of
-https://camel.apache.org/camel-quarkus/latest/first-steps.html#_package_and_run_the_application[Camel Quarkus User guide]
-
-=== JVM mode
-
-[source,shell]
-----
-
-$ mvn clean package
-$ java -jar target/*-runner.jar
-...
-[io.quarkus] (main) camel-quarkus-examples-... started in 0.885s. Listening on: http://0.0.0.0:8080
-----
-
-=== Native mode
-
-IMPORTANT: Native mode requires having GraalVM and other tools installed. Please check the Prerequisites section
-of https://camel.apache.org/camel-quarkus/latest/first-steps.html#_prerequisites[Camel Quarkus User guide].
-
-To prepare a native executable using GraalVM, run the following command:
-
-[source,shell]
-----
-$ mvn clean package -Pnative
-$ ./target/*-runner
-...
-[io.quarkus] (main) camel-quarkus-examples-... started in 0.026s. Listening on: http://0.0.0.0:8080
-...
-----
-
-=== Help and contributions
-
-If you hit any problem using Camel or have some feedback, then please
-https://camel.apache.org/support.html[let us know].
-
-We also love contributors, so
-https://camel.apache.org/contributing.html[get involved] :-)
-
-The Camel riders!
-
diff --git a/examples/health/pom.xml b/examples/health/pom.xml
deleted file mode 100644
index de99063..0000000
--- a/examples/health/pom.xml
+++ /dev/null
@@ -1,177 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- 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.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <parent>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-build-parent</artifactId>
- <version>1.2.0-SNAPSHOT</version>
- <relativePath>../../poms/build-parent/pom.xml</relativePath>
- </parent>
-
- <modelVersion>4.0.0</modelVersion>
-
- <artifactId>camel-quarkus-examples-health</artifactId>
- <name>Camel Quarkus :: Examples :: Health</name>
- <description>Camel Quarkus Example :: Health Check</description>
-
- <dependencies>
- <dependency>
- <groupId>io.quarkus</groupId>
- <artifactId>quarkus-resteasy</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-bean</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-log</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-main</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-netty</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-timer</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-microprofile-health</artifactId>
- </dependency>
-
- <!-- The following dependencies guarantee that this module is built after them. You can update them by running `mvn process-resources -Pformat -N` from the source tree root directory -->
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-bean-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-log-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-main-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-microprofile-health-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-netty-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-timer-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>io.quarkus</groupId>
- <artifactId>quarkus-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>build</id>
- <goals>
- <goal>build</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
- <profiles>
- <profile>
- <id>native</id>
- <activation>
- <property>
- <name>native</name>
- </property>
- </activation>
- <properties>
- <quarkus.package.type>native</quarkus.package.type>
- </properties>
- </profile>
- </profiles>
-
-</project>
diff --git a/examples/health/src/main/java/org/acme/health/MyRouteBuilder.java b/examples/health/src/main/java/org/acme/health/MyRouteBuilder.java
deleted file mode 100644
index 11dc4aa..0000000
--- a/examples/health/src/main/java/org/acme/health/MyRouteBuilder.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * 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.acme.health;
-
-import org.apache.camel.builder.RouteBuilder;
-
-public class MyRouteBuilder extends RouteBuilder {
-
- @Override
- public void configure() {
- from("timer:foo?period={{myPeriod}}").routeId("timer").log("Doing one more task");
-
- // this route is invalid and fails during startup
- // the supervising route controller will take over and attempt
- // to restart this route
- from("netty:tcp:unknownhost").to("log:dummy").routeId("netty");
- }
-}
diff --git a/examples/health/src/main/java/org/acme/health/RunTooLongHealthCheck.java b/examples/health/src/main/java/org/acme/health/RunTooLongHealthCheck.java
deleted file mode 100644
index db187d6..0000000
--- a/examples/health/src/main/java/org/acme/health/RunTooLongHealthCheck.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * 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.acme.health;
-
-import java.util.Map;
-
-import org.apache.camel.health.HealthCheckResultBuilder;
-import org.apache.camel.impl.health.AbstractHealthCheck;
-
-/**
- * A user defined health check that reports UNKNOWN on first call, then UP for
- * 10 seconds and finally DOWN afterward. This is a custom implementation of a
- * Camel {@link org.apache.camel.health.HealthCheck} and used as part of Camel's
- * health-check system.
- */
-public class RunTooLongHealthCheck extends AbstractHealthCheck {
-
- private volatile long firstCallTimeMillis = 0;
-
- public RunTooLongHealthCheck() {
- super("custom", "toolong");
- }
-
- @Override
- protected void doCall(HealthCheckResultBuilder builder, Map<String, Object> options) {
- builder.detail("toolong", "Reports DOWN when run for too long");
- if (firstCallTimeMillis == 0) {
- builder.unknown();
- firstCallTimeMillis = System.currentTimeMillis();
- } else if ((System.currentTimeMillis() - firstCallTimeMillis) < 10 * 1000L) {
- builder.up();
- } else {
- builder.down();
- }
- }
-
- @Override
- public boolean isReadiness() {
- // only liveness probe
- return false;
- }
-}
diff --git a/examples/health/src/main/resources/application.properties b/examples/health/src/main/resources/application.properties
deleted file mode 100644
index f6ab0d7..0000000
--- a/examples/health/src/main/resources/application.properties
+++ /dev/null
@@ -1,77 +0,0 @@
-## ---------------------------------------------------------------------------
-## 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.banner.enabled = false
-
-# to configure camel main
-# here you can configure options on camel quarkus
-camel.quakus.name = MyHealthyCamel
-
-# extended runtime statistics about bean introspection usage (java reflection)
-camel.main.bean-introspection-extended-statistics=true
-camel.main.bean-introspection-logging-level=INFO
-
-# enable supervised route controller which will startup routes in safe manner
-camel.main.route-controller-supervise-enabled = true
-# attempt up till 10 times to start a route (and exhaust if still failing)
-# when a route is exhausted then its taken out as being supervised and
-# will not take part of health-check either (UNKNOWN state)
-camel.main.route-controller-back-off-max-attempts = 10
-# when starting a route (and restarts) fails all attempts
-# then we can control whether the route should be influence the health-check
-# and report the route as either UNKNOWN or DOWN. Setting this option to true
-# will report it as DOWN otherwise its UNKNOWN
-###camel.main.route-controller-unhealthy-on-exhausted = true
-
-# enable health check (is automatic enabled if discovered on classpath)
-# global flag to enable/disable
-camel.health.enabled = true
-# context check is default included but we can turn it on|off
-camel.health.context-enabled = true
-# routes check is default included but we can turn it on|off
-camel.health.routes-enabled = true
-# registry check is default included but we can turn it on|off
-camel.health.registry-enabled = true
-
-# you can turn on or off individual routes as shown below
-### camel.heath.config[timer].parent = routes
-### camel.heath.config[timer].enabled = true
-### camel.heath.config[netty].check = routes
-### camel.heath.config[netty].enabled = false
-
-# and configure each individually
-camel.health.config[timer].parent = routes
-camel.health.config[timer].interval = 5s
-camel.health.config[netty].parent = routes
-camel.health.config[netty].interval = 20s
-camel.health.config[netty].failure-threshold = 10
-
-# find grained routes configuration per route (support wildcards)
-# (enabled is default true for discovered health-checks)
-### camel.health.config[*].enabled = true
-
-# allow 5 failures with 10s apart as slack to handle routes being flaky
-# however if after 5 failures then the state will be regarded as DOWN onwards
-# (the route can recover and the state will then be UP)
-###camel.health.config[*].parent = routes
-###camel.health.config[*].interval = 10s
-###camel.health.config[*].failure-threshold = 5
-
-# properties used in the route
-myPeriod = 10s
diff --git a/examples/http-log/README.adoc b/examples/http-log/README.adoc
deleted file mode 100644
index 15baf95..0000000
--- a/examples/http-log/README.adoc
+++ /dev/null
@@ -1,111 +0,0 @@
-= http-log
-
-This is a basic hello world example that uses CDI and JAX-RS to setup
-a Quarkus REST service and a Camel route to service HTTP traffic.
-
-The Quarkus REST service `ExampleResource.java` and the Camel route `CamelRoute.java`
-are independent and are present in this example to demonstrate how you can build microservices
-with both Quarkus and Camel separated.
-
-You can of course also combine Quarkus REST services with Camel (see further below).
-
-TIP: Check the https://camel.apache.org/camel-quarkus/latest/first-steps.html[Camel Quarkus User guide] for prerequisites
-and other general information.
-
-This example was used in a 10 minute video recording to demonstrate
-how to quickly run 100 Camels with Apache Camel, Quarkus and GraalVM:
-
-- https://www.youtube.com/watch?v=4lXSf8DBQkQ
-
-
-== Start in the Development mode
-
-[source,shell]
-----
-$ mvn clean compile quarkus:dev
-----
-
-The above command compiles the project, starts the application and lets the Quarkus tooling watch for changes in your
-workspace. Any modifications in your project will automatically take effect in the running application.
-
-TIP: Please refer to the Development mode section of
-https://camel.apache.org/camel-quarkus/latest/first-steps.html#_development_mode[Camel Quarkus User guide] for more details.
-
-From a web browser, you can call the two services via
-
-- http://localhost:8080/hello
-- http://localhost:8080/camel/hello
-
-There is also health check and metrics available from the following urls:
-
-- http://localhost:8080/health
-- http://localhost:8080/metrics
-
-=== Package and run the application
-
-Once you are done with developing you may want to package and run the application.
-
-TIP: Find more details about the JVM mode and Native mode in the Package and run section of
-https://camel.apache.org/camel-quarkus/latest/first-steps.html#_package_and_run_the_application[Camel Quarkus User guide]
-
-==== JVM mode
-
-[source,shell]
-----
-$ mvn clean package
-$ java -jar target/*-runner.jar
-...
-[io.quarkus] (main) camel-quarkus-examples-... started in 1.163s. Listening on: http://0.0.0.0:8080
-----
-
-==== Native mode
-
-IMPORTANT: Native mode requires having GraalVM and other tools installed. Please check the Prerequisites section
-of https://camel.apache.org/camel-quarkus/latest/first-steps.html#_prerequisites[Camel Quarkus User guide].
-
-To prepare a native executable using GraalVM, run the following command:
-
-[source,shell]
-----
-$ mvn clean package -Pnative
-$ ./target/*-runner
-...
-[io.quarkus] (main) camel-quarkus-examples-... started in 0.013s. Listening on: http://0.0.0.0:8080
-...
-----
-
-== Using Camel from Quarkus JAX-RS
-
-The `ExampleResource.java` is a pure JAX-RS REST service without using Camel.
-Suppose you wanted to add a HTTP POST that sends the HTTP body to a Kafka topic,
-via the camel-kafka component. You can then integrate Quarkus
-with Camel by dependency injecting Camels `FluentProducerTemplate` that allows to
-send the message in one line of code to Kafka. What's left is to configure the URL to the Kafka brokers,
-which can be done in the `application.properties` file.
-
-[source,java]
-----
-import org.apache.camel.FluentProducerTemplate;
-import org.jboss.resteasy.annotations.Body;
-import javax.inject.Inject;
-import javax.ws.rs.Consumes;
-
-@Path("/hello")
-public class ExampleResource {
-
- @Inject
- FluentProducerTemplate producer;
-
- @GET
- @Produces(MediaType.TEXT_PLAIN)
- public String hello() {
- return "hello";
- }
-
- @POST
- @Consumes(MediaType.TEXT_PLAIN)
- public void foo(@Body String payload) {
- producer.to("kafka:foo").send(payload);
- }
-}
-----
diff --git a/examples/http-log/pom.xml b/examples/http-log/pom.xml
deleted file mode 100644
index c406e10..0000000
--- a/examples/http-log/pom.xml
+++ /dev/null
@@ -1,160 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- 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.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <parent>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-build-parent</artifactId>
- <version>1.2.0-SNAPSHOT</version>
- <relativePath>../../poms/build-parent/pom.xml</relativePath>
- </parent>
-
- <modelVersion>4.0.0</modelVersion>
-
- <artifactId>camel-quarkus-examples-http-log</artifactId>
- <name>Camel Quarkus :: Examples :: HTTP Log</name>
- <description>Camel Quarkus Example :: HTTP to Log</description>
-
- <dependencies>
- <dependency>
- <groupId>io.quarkus</groupId>
- <artifactId>quarkus-resteasy</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-main</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-platform-http</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-log</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-microprofile-health</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-microprofile-metrics</artifactId>
- </dependency>
-
- <!-- The following dependencies guarantee that this module is built after them. You can update them by running `mvn process-resources -Pformat -N` from the source tree root directory -->
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-log-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-main-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-microprofile-health-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-microprofile-metrics-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-platform-http-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>io.quarkus</groupId>
- <artifactId>quarkus-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>build</id>
- <goals>
- <goal>build</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
- <profiles>
- <profile>
- <id>native</id>
- <activation>
- <property>
- <name>native</name>
- </property>
- </activation>
- <properties>
- <quarkus.package.type>native</quarkus.package.type>
- </properties>
- </profile>
- </profiles>
-
-</project>
diff --git a/examples/http-log/rss-memory.sh b/examples/http-log/rss-memory.sh
deleted file mode 100755
index e8db116..0000000
--- a/examples/http-log/rss-memory.sh
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-#
-# 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.
-#
-
-# script to aggregate the total RSS memory used by the processes in MB.
-# the script includes itself so that adds about 2mb extra in total memory.
-# the script is a bit hackish and improvements is welcome.
-ps -o rss -o command | grep $1 | awk '{print $1}' | head -n 100 | awk '{sum+=$1/1024}END{print sum}'
diff --git a/examples/http-log/run-many.sh b/examples/http-log/run-many.sh
deleted file mode 100755
index b1f0c68..0000000
--- a/examples/http-log/run-many.sh
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-#
-# 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.
-#
-
-# script to quickly run 100 instances of the native compiled example
-# using http port numbers from 8000 - 8100
-# you can then try each instance by its number such as:
-# http://localhost:8012/camel/hello
-#
-# to kill all instances at once, you can use pkill command:
-# pkill camel-quarkus
-#
-for i in $(seq 8000 8100); do
- QUARKUS_HTTP_PORT=$i ./target/camel-quarkus-examples-http-log-*-runner > http-log-$i.log &
-done
\ No newline at end of file
diff --git a/examples/http-log/src/main/java/org/acme/http/CamelRoute.java b/examples/http-log/src/main/java/org/acme/http/CamelRoute.java
deleted file mode 100644
index c456f6f..0000000
--- a/examples/http-log/src/main/java/org/acme/http/CamelRoute.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * 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.acme.http;
-
-import javax.enterprise.context.ApplicationScoped;
-
-import org.apache.camel.builder.endpoint.EndpointRouteBuilder;
-
-@ApplicationScoped
-public class CamelRoute extends EndpointRouteBuilder {
-
- @Override
- public void configure() throws Exception {
- from(platformHttp("/camel/hello"))
- .setBody().simple("Camel runs on ${hostname}")
- .to(log("hi").showExchangePattern(false).showBodyType(false));
- }
-}
diff --git a/examples/http-log/src/main/java/org/acme/http/ExampleResource.java b/examples/http-log/src/main/java/org/acme/http/ExampleResource.java
deleted file mode 100644
index 4d71ac1..0000000
--- a/examples/http-log/src/main/java/org/acme/http/ExampleResource.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * 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.acme.http;
-
-import javax.ws.rs.GET;
-import javax.ws.rs.Path;
-import javax.ws.rs.Produces;
-import javax.ws.rs.core.MediaType;
-
-@Path("/hello")
-public class ExampleResource {
-
- @GET
- @Produces(MediaType.TEXT_PLAIN)
- public String hello() {
- return "hello";
- }
-}
diff --git a/examples/http-log/src/main/resources/META-INF/resources/index.html b/examples/http-log/src/main/resources/META-INF/resources/index.html
deleted file mode 100644
index cb44c76..0000000
--- a/examples/http-log/src/main/resources/META-INF/resources/index.html
+++ /dev/null
@@ -1,170 +0,0 @@
-<!--
-
- 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.
-
--->
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="UTF-8">
- <title>code-with-quarkus - 1.0.0-SNAPSHOT</title>
- <style>
- h1, h2, h3, h4, h5, h6 {
- margin-bottom: 0.5rem;
- font-weight: 400;
- line-height: 1.5;
- }
-
- h1 {
- font-size: 2.5rem;
- }
-
- h2 {
- font-size: 2rem
- }
-
- h3 {
- font-size: 1.75rem
- }
-
- h4 {
- font-size: 1.5rem
- }
-
- h5 {
- font-size: 1.25rem
- }
-
- h6 {
- font-size: 1rem
- }
-
- .lead {
- font-weight: 300;
- font-size: 2rem;
- }
-
- .banner {
- font-size: 2.7rem;
- margin: 0;
- padding: 2rem 1rem;
- background-color: #00A1E2;
- color: white;
- }
-
- body {
- margin: 0;
- font-family: -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
- }
-
- code {
- font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
- font-size: 87.5%;
- color: #e83e8c;
- word-break: break-word;
- }
-
- .left-column {
- padding: .75rem;
- max-width: 75%;
- min-width: 55%;
- }
-
- .right-column {
- padding: .75rem;
- max-width: 25%;
- }
-
- .container {
- display: flex;
- width: 100%;
- }
-
- li {
- margin: 0.75rem;
- }
-
- .right-section {
- margin-left: 1rem;
- padding-left: 0.5rem;
- }
-
- .right-section h3 {
- padding-top: 0;
- font-weight: 200;
- }
-
- .right-section ul {
- border-left: 0.3rem solid #00A1E2;
- list-style-type: none;
- padding-left: 0;
- }
-
- </style>
-</head>
-<body>
-
-<div class="banner lead">
- Your new Cloud-Native application is ready!
-</div>
-
-<div class="container">
- <div class="left-column">
- <p class="lead"> Congratulations, you have created a new Quarkus application.</p>
-
- <h2>Why do you see this?</h2>
-
- <p>This page is served by Quarkus. The source is in
- <code>src/main/resources/META-INF/resources/index.html</code>.</p>
-
- <h2>What can I do from here?</h2>
-
- <p>If not already done, run the application in <em>dev mode</em> using: <code>mvn compile quarkus:dev</code>.
- </p>
- <ul>
- <li>Add REST resources, Servlets, functions and other services in <code>src/main/java</code>.</li>
- <li>Your static assets are located in <code>src/main/resources/META-INF/resources</code>.</li>
- <li>Configure your application in <code>src/main/resources/application.properties</code>.
- </li>
- </ul>
-
- <h2>How do I get rid of this page?</h2>
- <p>Just delete the <code>src/main/resources/META-INF/resources/index.html</code> file.</p>
- </div>
- <div class="right-column">
- <div class="right-section">
- <h3>Application</h3>
- <ul>
- <li>GroupId: org.apache.camel.quarkus</li>
- <li>ArtifactId: http-log</li>
- <li>Version: 1.0.0-SNAPSHOT</li>
- <li>Quarkus Version: 1.3.2.Final</li>
- </ul>
- </div>
- <div class="right-section">
- <h3>Next steps</h3>
- <ul>
- <li><a href="https://quarkus.io/guides/maven-tooling.html" target="_blank">Setup your IDE</a></li>
- <li><a href="https://quarkus.io/guides/getting-started.html" target="_blank">Getting started</a></li>
- <li><a href="https://quarkus.io" target="_blank">Quarkus Web Site</a></li>
- </ul>
- </div>
- </div>
-</div>
-
-
-</body>
-</html>
\ No newline at end of file
diff --git a/examples/http-log/src/main/resources/application.properties b/examples/http-log/src/main/resources/application.properties
deleted file mode 100644
index 1d0efa7..0000000
--- a/examples/http-log/src/main/resources/application.properties
+++ /dev/null
@@ -1,37 +0,0 @@
-## ---------------------------------------------------------------------------
-## 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.banner.enabled = false
-
-#
-# Quarkus - Camel
-#
-
-# to turn on or off health check
-quarkus.camel.health.enabled = true
-
-# bean introspection to log reflection based configuration
-camel.main.beanIntrospectionExtendedStatistics = true
-camel.main.beanIntrospectionLoggingLevel = INFO
-
-#
-# Camel
-#
-camel.context.name = quarkus-camel-example-http-log
-
diff --git a/examples/observability/README.adoc b/examples/observability/README.adoc
deleted file mode 100644
index d3ef123..0000000
--- a/examples/observability/README.adoc
+++ /dev/null
@@ -1,111 +0,0 @@
-= Camel Quarkus Observability
-
-This example project demonstrates how to add support for metrics, health checks and distributed tracing.
-
-TIP: Check the https://camel.apache.org/camel-quarkus/latest/first-steps.html[Camel Quarkus User guide] for prerequisites
-and other general information.
-
-== Start in the Development mode
-
-[source,shell]
-----
-$ mvn clean compile quarkus:dev
-----
-
-The above command compiles the project, starts the application and lets the Quarkus tooling watch for changes in your
-workspace. Any modifications in your project will automatically take effect in the running application.
-
-TIP: Please refer to the Development mode section of
-https://camel.apache.org/camel-quarkus/latest/first-steps.html#_development_mode[Camel Quarkus User guide] for more details.
-
-
-=== Metrics endpoint
-
-Metrics are exposed on an HTTP endpoint at `/metrics`. You can also browse application specific metrics from the `/metrics/application` endpoint.
-
-To view all Camel metrics do:
-
-[source,shell]
-----
-$ curl localhost:8080/metrics/application
-----
-
-To pick out specific metrics you can either use `grep` or the `https://stedolan.github.io/jq/[jq]` library :
-
-[source,shell]
-----
-$ curl -s -H"Accept: application/json" localhost:8080/metrics/application \
- | jq '.["camel.context.exchanges.completed.total;camelContext=camel-quarkus-observability"]'
-----
-
-=== Health endpoint
-
-Camel provides some out of the box liveness and readiness checks. To see this working, interrogate the `/health/live` and `/health/ready` endpoints:
-
-[source,shell]
-----
-$ curl -s localhost:8080/health/live
-----
-
-[source,shell]
-----
-$ curl -s localhost:8080/health/ready
-----
-
-The JSON output will contain a check named 'camel' for verifying whether the `CamelContext` is in the 'Started' state and another check to verify whether each individual route is in the 'Started' state.
-
-This example project contains a custom liveness check class `CustomLivenessCheck` and custom readiness check class `CustomReadinessCheck` which leverage the Camel health API.
-You'll see these listed in the health JSON as 'custom-liveness-check' and 'custom-readiness-check'. On every 5th invocation of these checks, the health status will be reported as DOWN.
-
-You can also directly leverage MicroProfile Metrics APIs to create checks. Class `CamelUptimeHealthCheck` demonstrates how to register a readiness check.
-
-==== Tracing
-
-The tracing configuration for the application can be found within `application.properties`.
-
-To view tracing events, start a Jaeger tracing server. A simple way of doing this is with Docker:
-
-[source,shell]
-----
-$ docker run -e COLLECTOR_ZIPKIN_HTTP_PORT=9411 -p 5775:5775/udp -p 6831:6831/udp -p 6832:6832/udp -p 5778:5778 \
- -p 16686:16686 -p 14268:14268 -p 9411:9411 jaegertracing/all-in-one:latest
-----
-
-With the server running, browse to http://localhost:16686. Then choose 'greetings-service' from the 'Service' drop down and click the 'Find Traces' button.
-
-The `netty-http` consumer route introduces a random delay to simulate latency, hence the overall time of each trace should be different. When viewing a trace, you should see
-a hierarchy of 3 spans showing the progression of the message exchange through each endpoint.
-
-
-=== Package and run the application
-
-Once you are done with developing you may want to package and run the application.
-
-TIP: Find more details about the JVM mode and Native mode in the Package and run section of
-https://camel.apache.org/camel-quarkus/latest/first-steps.html#_package_and_run_the_application[Camel Quarkus User guide]
-
-==== JVM mode
-
-[source,shell]
-----
-$ mvn clean package
-$ java -jar target/*-runner.jar
-...
-[io.quarkus] (main) camel-quarkus-examples-... started in 1.163s. Listening on: http://0.0.0.0:8080
-----
-
-==== Native mode
-
-IMPORTANT: Native mode requires having GraalVM and other tools installed. Please check the Prerequisites section
-of https://camel.apache.org/camel-quarkus/latest/first-steps.html#_prerequisites[Camel Quarkus User guide].
-
-To prepare a native executable using GraalVM, run the following command:
-
-[source,shell]
-----
-$ mvn clean package -Pnative
-$ ./target/*-runner
-...
-[io.quarkus] (main) camel-quarkus-examples-... started in 0.013s. Listening on: http://0.0.0.0:8080
-...
-----
diff --git a/examples/observability/pom.xml b/examples/observability/pom.xml
deleted file mode 100644
index 7dd60a7..0000000
--- a/examples/observability/pom.xml
+++ /dev/null
@@ -1,204 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- 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.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <parent>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-build-parent</artifactId>
- <version>1.2.0-SNAPSHOT</version>
- <relativePath>../../poms/build-parent/pom.xml</relativePath>
- </parent>
-
- <modelVersion>4.0.0</modelVersion>
-
- <artifactId>camel-quarkus-examples-observability</artifactId>
- <name>Camel Quarkus :: Examples :: Observability</name>
- <description>Camel Quarkus Example :: Observability</description>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-main</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-timer</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-netty-http</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-microprofile-health</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-microprofile-metrics</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-opentracing</artifactId>
- </dependency>
- <dependency>
- <groupId>io.quarkus</groupId>
- <artifactId>quarkus-resteasy</artifactId>
- </dependency>
-
- <!-- test dependencies -->
- <dependency>
- <groupId>io.quarkus</groupId>
- <artifactId>quarkus-junit5</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>io.rest-assured</groupId>
- <artifactId>rest-assured</artifactId>
- <scope>test</scope>
- </dependency>
-
- <!-- The following dependencies guarantee that this module is built after them. You can update them by running `mvn process-resources -Pformat -N` from the source tree root directory -->
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-main-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-microprofile-health-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-microprofile-metrics-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-netty-http-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-opentracing-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-timer-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>io.quarkus</groupId>
- <artifactId>quarkus-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>build</id>
- <goals>
- <goal>build</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
- <profiles>
- <profile>
- <id>native</id>
- <activation>
- <property>
- <name>native</name>
- </property>
- </activation>
- <properties>
- <quarkus.package.type>native</quarkus.package.type>
- </properties>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>integration-test</goal>
- <goal>verify</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-
-</project>
diff --git a/examples/observability/src/main/java/org/acme/observability/Routes.java b/examples/observability/src/main/java/org/acme/observability/Routes.java
deleted file mode 100644
index 8f1be8f..0000000
--- a/examples/observability/src/main/java/org/acme/observability/Routes.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * 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.acme.observability;
-
-import org.apache.camel.builder.RouteBuilder;
-
-public class Routes extends RouteBuilder {
-
- @Override
- public void configure() throws Exception {
- // Invokes a simple greeting endpoint every 10 seconds
- from("timer:greeting?period=10000")
- .to("netty-http:http://localhost:8099/greeting");
-
- from("netty-http:0.0.0.0:8099/greeting")
- // Random delay to simulate latency
- .delay(simple("${random(1000, 5000)}"))
- .setBody(constant("Hello From Camel Quarkus!"));
- }
-}
diff --git a/examples/observability/src/main/java/org/acme/observability/health/camel/CustomLivenessCheck.java b/examples/observability/src/main/java/org/acme/observability/health/camel/CustomLivenessCheck.java
deleted file mode 100644
index 0d380d1..0000000
--- a/examples/observability/src/main/java/org/acme/observability/health/camel/CustomLivenessCheck.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * 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.acme.observability.health.camel;
-
-import java.util.Map;
-import java.util.concurrent.atomic.AtomicInteger;
-
-import org.apache.camel.health.HealthCheckResultBuilder;
-import org.apache.camel.microprofile.health.AbstractCamelMicroProfileLivenessCheck;
-
-/**
- * A simple custom liveness check which utilizes the Camel Health API.
- *
- * The check status is recorded as DOWN on every 5th invocation.
- */
-public class CustomLivenessCheck extends AbstractCamelMicroProfileLivenessCheck {
-
- AtomicInteger hitCount = new AtomicInteger();
-
- public CustomLivenessCheck() {
- super("custom-liveness-check");
- getConfiguration().setEnabled(true);
- }
-
- @Override
- protected void doCall(HealthCheckResultBuilder builder, Map<String, Object> options) {
- int hits = hitCount.incrementAndGet();
-
- // Flag the check as DOWN on every 5th invocation, else it is UP
- if (hits % 5 == 0) {
- builder.down();
- } else {
- builder.up();
- }
- }
-}
diff --git a/examples/observability/src/main/java/org/acme/observability/health/camel/CustomReadinessCheck.java b/examples/observability/src/main/java/org/acme/observability/health/camel/CustomReadinessCheck.java
deleted file mode 100644
index 9ebe412..0000000
--- a/examples/observability/src/main/java/org/acme/observability/health/camel/CustomReadinessCheck.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * 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.acme.observability.health.camel;
-
-import java.util.Map;
-
-import org.apache.camel.health.HealthCheckResultBuilder;
-import org.apache.camel.microprofile.health.AbstractCamelMicroProfileReadinessCheck;
-
-/**
- * A simple custom liveness check which utilizes the Camel Health API.
- */
-public class CustomReadinessCheck extends AbstractCamelMicroProfileReadinessCheck {
-
- public CustomReadinessCheck() {
- super("custom-readiness-check");
- getConfiguration().setEnabled(true);
- }
-
- @Override
- protected void doCall(HealthCheckResultBuilder builder, Map<String, Object> options) {
- builder.up();
- }
-}
diff --git a/examples/observability/src/main/java/org/acme/observability/health/microprofile/CamelUptimeHealthCheck.java b/examples/observability/src/main/java/org/acme/observability/health/microprofile/CamelUptimeHealthCheck.java
deleted file mode 100644
index 68fc396..0000000
--- a/examples/observability/src/main/java/org/acme/observability/health/microprofile/CamelUptimeHealthCheck.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * 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.acme.observability.health.microprofile;
-
-import javax.enterprise.context.ApplicationScoped;
-import javax.inject.Inject;
-
-import org.apache.camel.CamelContext;
-import org.eclipse.microprofile.health.HealthCheck;
-import org.eclipse.microprofile.health.HealthCheckResponse;
-import org.eclipse.microprofile.health.HealthCheckResponseBuilder;
-import org.eclipse.microprofile.health.Readiness;
-
-/**
- * A simple CamelContext uptime readiness check which implements the MicroProfile Health API.
- */
-@Readiness
-@ApplicationScoped
-public class CamelUptimeHealthCheck implements HealthCheck {
-
- @Inject
- CamelContext camelContext;
-
- @Override
- public HealthCheckResponse call() {
- HealthCheckResponseBuilder builder = HealthCheckResponse.named("Uptime readiness check");
-
- if (camelContext.getUptimeMillis() > 0) {
- builder.up();
- } else {
- builder.down();
- }
-
- return builder.build();
- }
-}
diff --git a/examples/observability/src/main/resources/application.properties b/examples/observability/src/main/resources/application.properties
deleted file mode 100644
index 6337bd2..0000000
--- a/examples/observability/src/main/resources/application.properties
+++ /dev/null
@@ -1,32 +0,0 @@
-## ---------------------------------------------------------------------------
-## 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.banner.enabled = false
-
-# Configure Quarkus Jaeger OpenTracing support
-quarkus.jaeger.service-name = greetings-service
-quarkus.jaeger.sampler-type = const
-quarkus.jaeger.sampler-param = 1
-quarkus.jaeger.endpoint = http://localhost:14268/api/traces
-
-#
-# Camel
-#
-camel.context.name = camel-quarkus-observability
diff --git a/examples/observability/src/test/java/org/acme/observability/ObservabilityIT.java b/examples/observability/src/test/java/org/acme/observability/ObservabilityIT.java
deleted file mode 100644
index 66c3517..0000000
--- a/examples/observability/src/test/java/org/acme/observability/ObservabilityIT.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * 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.acme.observability;
-
-import io.quarkus.test.junit.NativeImageTest;
-
-@NativeImageTest
-public class ObservabilityIT extends ObservabilityTest {
-}
diff --git a/examples/observability/src/test/java/org/acme/observability/ObservabilityTest.java b/examples/observability/src/test/java/org/acme/observability/ObservabilityTest.java
deleted file mode 100644
index d9a4d3c..0000000
--- a/examples/observability/src/test/java/org/acme/observability/ObservabilityTest.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
- * 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.acme.observability;
-
-import io.quarkus.test.junit.QuarkusTest;
-import io.restassured.http.ContentType;
-import org.hamcrest.Matchers;
-import org.junit.jupiter.api.Test;
-
-import static io.restassured.RestAssured.given;
-import static org.hamcrest.CoreMatchers.is;
-import static org.hamcrest.Matchers.containsInAnyOrder;
-
-@QuarkusTest
-public class ObservabilityTest {
-
- @Test
- public void metrics() {
- // Verify a expected Camel metric is available
- given()
- .when().accept(ContentType.JSON)
- .get("/metrics/application")
- .then()
- .statusCode(200)
- .body(
- "'camel.context.status;camelContext=camel-quarkus-observability'", is(3));
- }
-
- @Test
- public void health() {
- // Verify liveness
- given()
- .when().accept(ContentType.JSON)
- .get("/health/live")
- .then()
- .statusCode(200)
- .body("status", Matchers.is("UP"),
- "checks.name", containsInAnyOrder("camel-liveness-checks"),
- "checks.data.custom-liveness-check", containsInAnyOrder("UP"));
-
- // Verify readiness
- given()
- .when().accept(ContentType.JSON)
- .get("/health/ready")
- .then()
- .statusCode(200)
- .body("status", Matchers.is("UP"),
- "checks.name",
- containsInAnyOrder("camel-readiness-checks", "camel-context-check", "Uptime readiness check"),
- "checks.data.custom-readiness-check", containsInAnyOrder(null, "UP"));
- }
-}
diff --git a/examples/pom.xml b/examples/pom.xml
deleted file mode 100644
index abfa39b..0000000
--- a/examples/pom.xml
+++ /dev/null
@@ -1,48 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- 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.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus</artifactId>
- <version>1.2.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>camel-quarkus-examples</artifactId>
- <packaging>pom</packaging>
-
- <name>Camel Quarkus :: Examples</name>
-
- <modules>
- <module>observability</module>
- <module>http-log</module>
- <module>health</module>
- <module>rest-json</module>
- <module>timer-log</module>
- <module>timer-log-cdi</module>
- <module>timer-log-kotlin</module>
- <module>timer-log-main</module>
- <module>timer-log-xml</module>
- <module>timer-log-spring</module>
- <module>file-split-log-xml</module>
- </modules>
-
-</project>
diff --git a/examples/rest-json/README.adoc b/examples/rest-json/README.adoc
deleted file mode 100644
index be10e2b..0000000
--- a/examples/rest-json/README.adoc
+++ /dev/null
@@ -1,57 +0,0 @@
-= rest-json
-
-This example is a port of Quarkus' quickstart https://github.com/quarkusio/quarkus-quickstarts/blob/master/rest-json[rest-json] to Camel.
-
-TIP: Check the https://camel.apache.org/camel-quarkus/latest/first-steps.html[Camel Quarkus User guide] for prerequisites
-and other general information.
-
-== Start in the Development mode
-
-[source,shell]
-----
-$ mvn clean compile quarkus:dev
-----
-
-The above command compiles the project, starts the application and lets the Quarkus tooling watch for changes in your
-workspace. Any modifications in your project will automatically take effect in the running application.
-
-TIP: Please refer to the Development mode section of
-https://camel.apache.org/camel-quarkus/latest/first-steps.html#_development_mode[Camel Quarkus User guide] for more details.
-
-Then point your browser to one of the endpoints:
-
-* http://localhost:8080/fruits
-* http://localhost:8080/legumes
-
-=== Package and run the application
-
-Once you are done with developing you may want to package and run the application.
-
-TIP: Find more details about the JVM mode and Native mode in the Package and run section of
-https://camel.apache.org/camel-quarkus/latest/first-steps.html#_package_and_run_the_application[Camel Quarkus User guide]
-
-==== JVM mode
-
-[source,shell]
-----
-$ mvn clean package
-$ java -jar target/*-runner.jar
-...
-[io.quarkus] (main) camel-quarkus-examples-... started in 1.163s. Listening on: http://0.0.0.0:8080
-----
-
-==== Native mode
-
-IMPORTANT: Native mode requires having GraalVM and other tools installed. Please check the Prerequisites section
-of https://camel.apache.org/camel-quarkus/latest/first-steps.html#_prerequisites[Camel Quarkus User guide].
-
-To prepare a native executable using GraalVM, run the following command:
-
-[source,shell]
-----
-$ mvn clean package -Pnative
-$ ./target/*-runner
-...
-[io.quarkus] (main) camel-quarkus-examples-... started in 0.013s. Listening on: http://0.0.0.0:8080
-...
-----
diff --git a/examples/rest-json/pom.xml b/examples/rest-json/pom.xml
deleted file mode 100644
index 31c4b88..0000000
--- a/examples/rest-json/pom.xml
+++ /dev/null
@@ -1,149 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- 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.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <parent>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-build-parent</artifactId>
- <version>1.2.0-SNAPSHOT</version>
- <relativePath>../../poms/build-parent/pom.xml</relativePath>
- </parent>
-
- <modelVersion>4.0.0</modelVersion>
-
- <artifactId>camel-quarkus-examples-rest-json</artifactId>
- <name>Camel Quarkus :: Examples :: Rest Json</name>
- <description>Camel Quarkus Example :: Rest Json</description>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-main</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-platform-http</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-jackson</artifactId>
- </dependency>
-
- <!-- test dependencies -->
- <dependency>
- <groupId>io.quarkus</groupId>
- <artifactId>quarkus-junit5</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>io.rest-assured</groupId>
- <artifactId>rest-assured</artifactId>
- <scope>test</scope>
- </dependency>
-
- <!-- The following dependencies guarantee that this module is built after them. You can update them by running `mvn process-resources -Pformat -N` from the source tree root directory -->
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-jackson-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-main-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-platform-http-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>io.quarkus</groupId>
- <artifactId>quarkus-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>build</id>
- <goals>
- <goal>build</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
- <profiles>
- <profile>
- <id>native</id>
- <activation>
- <property>
- <name>native</name>
- </property>
- </activation>
- <properties>
- <quarkus.package.type>native</quarkus.package.type>
- </properties>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>integration-test</goal>
- <goal>verify</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-
-</project>
diff --git a/examples/rest-json/src/main/java/org/acme/rest/json/Fruit.java b/examples/rest-json/src/main/java/org/acme/rest/json/Fruit.java
deleted file mode 100644
index b86a36c..0000000
--- a/examples/rest-json/src/main/java/org/acme/rest/json/Fruit.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * 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.acme.rest.json;
-
-import java.util.Objects;
-
-import io.quarkus.runtime.annotations.RegisterForReflection;
-
-/**
- * A REST entity representing a fruit.
- */
-@RegisterForReflection // Lets Quarkus register this class for reflection during the native build
-public class Fruit {
- private String name;
- private String description;
-
- public Fruit() {
- }
-
- public Fruit(String name, String description) {
- this.name = name;
- this.description = description;
- }
-
- public String getName() {
- return name;
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
- public String getDescription() {
- return description;
- }
-
- public void setDescription(String description) {
- this.description = description;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (!(obj instanceof Fruit)) {
- return false;
- }
-
- Fruit other = (Fruit) obj;
-
- return Objects.equals(other.name, this.name);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(this.name);
- }
-}
diff --git a/examples/rest-json/src/main/java/org/acme/rest/json/Legume.java b/examples/rest-json/src/main/java/org/acme/rest/json/Legume.java
deleted file mode 100644
index 779b271..0000000
--- a/examples/rest-json/src/main/java/org/acme/rest/json/Legume.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * 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.acme.rest.json;
-
-import java.util.Objects;
-
-import io.quarkus.runtime.annotations.RegisterForReflection;
-
-/**
- * A REST entity representing a legume.
- */
-@RegisterForReflection // Lets Quarkus register this class for reflection during the native build
-public class Legume {
- private String name;
- private String description;
-
- public Legume() {
- }
-
- public Legume(String name, String description) {
- this.name = name;
- this.description = description;
- }
-
- public String getName() {
- return name;
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
- public String getDescription() {
- return description;
- }
-
- public void setDescription(String description) {
- this.description = description;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (!(obj instanceof Legume)) {
- return false;
- }
-
- Legume other = (Legume) obj;
-
- return Objects.equals(other.name, this.name);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(this.name);
- }
-}
diff --git a/examples/rest-json/src/main/java/org/acme/rest/json/Routes.java b/examples/rest-json/src/main/java/org/acme/rest/json/Routes.java
deleted file mode 100644
index 431eae0..0000000
--- a/examples/rest-json/src/main/java/org/acme/rest/json/Routes.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * 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.acme.rest.json;
-
-import java.util.Collections;
-import java.util.LinkedHashSet;
-import java.util.Set;
-
-import org.apache.camel.builder.RouteBuilder;
-import org.apache.camel.model.dataformat.JsonLibrary;
-
-/**
- * Camel route definitions.
- */
-public class Routes extends RouteBuilder {
- private final Set<Fruit> fruits = Collections.synchronizedSet(new LinkedHashSet<>());
- private final Set<Legume> legumes = Collections.synchronizedSet(new LinkedHashSet<>());
-
- public Routes() {
-
- /* Let's add some initial fruits */
- this.fruits.add(new Fruit("Apple", "Winter fruit"));
- this.fruits.add(new Fruit("Pineapple", "Tropical fruit"));
-
- /* Let's add some initial legumes */
- this.legumes.add(new Legume("Carrot", "Root vegetable, usually orange"));
- this.legumes.add(new Legume("Zucchini", "Summer squash"));
- }
-
- @Override
- public void configure() throws Exception {
- from("platform-http:/fruits?httpMethodRestrict=GET,POST")
- .choice()
- .when(simple("${header.CamelHttpMethod} == 'GET'"))
- .setBody()
- .constant(fruits)
- .endChoice()
- .when(simple("${header.CamelHttpMethod} == 'POST'"))
- .unmarshal()
- .json(JsonLibrary.Jackson, Fruit.class)
- .process()
- .body(Fruit.class, fruits::add)
- .setBody()
- .constant(fruits)
- .endChoice()
- .end()
- .marshal().json();
-
- from("platform-http:/legumes?httpMethodRestrict=GET")
- .setBody().constant(legumes)
- .marshal().json();
-
- }
-}
diff --git a/examples/rest-json/src/main/resources/META-INF/resources/fruits.html b/examples/rest-json/src/main/resources/META-INF/resources/fruits.html
deleted file mode 100644
index 62cacfc..0000000
--- a/examples/rest-json/src/main/resources/META-INF/resources/fruits.html
+++ /dev/null
@@ -1,116 +0,0 @@
-<!--
-
- 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.
-
--->
-<!doctype html>
-<html>
-<head>
- <meta charset="utf-8"/>
- <title>Fruit REST service</title>
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/wingcss/0.1.8/wing.min.css"/>
- <!-- Load AngularJS -->
- <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script>
- <script type="text/javascript">
- var app = angular.module("FruitManagement", []);
-
- //Controller Part
- app.controller("FruitManagementController", function ($scope, $http) {
-
- //Initialize page with default data which is blank in this example
- $scope.fruits = [];
-
- $scope.form = {
- name: "",
- description: ""
- };
-
- //Now load the data from server
- _refreshPageData();
-
- //HTTP POST methods for add fruits
- $scope.add = function () {
- var data = { "name": $scope.form.name, "description": $scope.form.description };
-
- $http({
- method: "POST",
- url: '/fruits',
- data: angular.toJson(data),
- headers: {
- 'Content-Type': 'application/json'
- }
- }).then(_success, _error);
- };
-
- /* Private Methods */
- //HTTP GET- get all fruits collection
- function _refreshPageData() {
- $http({
- method: 'GET',
- url: '/fruits'
- }).then(function successCallback(response) {
- $scope.fruits = response.data;
- }, function errorCallback(response) {
- console.log(response.statusText);
- });
- }
-
- function _success(response) {
- _refreshPageData();
- _clearForm();
- }
-
- function _error(response) {
- alert(response.data.message || response.statusText);
- }
-
- //Clear the form
- function _clearForm() {
- $scope.form.name = "";
- $scope.form.description = "";
- }
- });
- </script>
-</head>
-<body ng-app="FruitManagement" ng-controller="FruitManagementController">
-
-<div class="container">
- <h1>REST Service - Fruit</h1>
-
- <h3>Add a fruit</h3>
- <form ng-submit="add()">
- <div class="row">
- <div class="col-6"><input type="text" placeholder="Name" ng-model="form.name" size="60"/></div>
- </div>
- <div class="row">
- <div class="col-6"><input type="text" placeholder="Description" ng-model="form.description" size="60"/></div>
- </div>
- <input type="submit" value="Save"/>
- </form>
-
- <h3>Fruit List</h3>
- <div class="row">
- <div class="col-4">Name</div>
- <div class="col-8">Description</div>
- </div>
- <div class="row" ng-repeat="fruit in fruits">
- <div class="col-4">{{ fruit.name }}</div>
- <div class="col-8">{{ fruit.description }}</div>
- </div>
-</div>
-
-</body>
-</html>
diff --git a/examples/rest-json/src/main/resources/META-INF/resources/legumes.html b/examples/rest-json/src/main/resources/META-INF/resources/legumes.html
deleted file mode 100644
index ba6c6c3..0000000
--- a/examples/rest-json/src/main/resources/META-INF/resources/legumes.html
+++ /dev/null
@@ -1,79 +0,0 @@
-<!--
-
- 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.
-
--->
-<!doctype html>
-<html>
-<head>
- <meta charset="utf-8"/>
- <title>Legume REST service</title>
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/wingcss/0.1.8/wing.min.css"/>
- <!-- Load AngularJS -->
- <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script>
- <script type="text/javascript">
- var app = angular.module("LegumeManagement", []);
-
- //Controller Part
- app.controller("LegumeManagementController", function ($scope, $http) {
-
- //Initialize page with default data which is blank in this example
- $scope.legumes = [];
-
- //Now load the data from server
- _refreshPageData();
-
- /* Private Methods */
- //HTTP GET- get all legumes collection
- function _refreshPageData() {
- $http({
- method: 'GET',
- url: '/legumes'
- }).then(function successCallback(response) {
- $scope.legumes = response.data;
- }, function errorCallback(response) {
- console.log(response.statusText);
- });
- }
-
- function _success(response) {
- _refreshPageData();
- }
-
- function _error(response) {
- alert(response.data.message || response.statusText);
- }
- });
- </script>
-</head>
-<body ng-app="LegumeManagement" ng-controller="LegumeManagementController">
-
-<div class="container">
- <h1>REST Service - Legume</h1>
-
- <h3>Legume List</h3>
- <div class="row">
- <div class="col-4">Name</div>
- <div class="col-8">Description</div>
- </div>
- <div class="row" ng-repeat="legume in legumes">
- <div class="col-4">{{ legume.name }}</div>
- <div class="col-8">{{ legume.description }}</div>
- </div>
-</div>
-
-</body>
-</html>
diff --git a/examples/rest-json/src/main/resources/application.properties b/examples/rest-json/src/main/resources/application.properties
deleted file mode 100644
index 4d1d321..0000000
--- a/examples/rest-json/src/main/resources/application.properties
+++ /dev/null
@@ -1,28 +0,0 @@
-## ---------------------------------------------------------------------------
-## 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.banner.enabled = false
-quarkus.ssl.native=true
-
-#
-# Camel
-#
-camel.context.name = quarkus-camel-example-rest-json
-
diff --git a/examples/rest-json/src/test/java/org/acme/rest/json/RestJsonIT.java b/examples/rest-json/src/test/java/org/acme/rest/json/RestJsonIT.java
deleted file mode 100644
index a9bfe36..0000000
--- a/examples/rest-json/src/test/java/org/acme/rest/json/RestJsonIT.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * 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.acme.rest.json;
-
-import io.quarkus.test.junit.NativeImageTest;
-
-/**
- * Native mode tests. In the native mode, the same tests will be executed as in the JVM mode because this class extends
- * {@link RestJsonTest}.
- */
-@NativeImageTest
-public class RestJsonIT extends RestJsonTest {
-}
diff --git a/examples/rest-json/src/test/java/org/acme/rest/json/RestJsonTest.java b/examples/rest-json/src/test/java/org/acme/rest/json/RestJsonTest.java
deleted file mode 100644
index 1d80c7f..0000000
--- a/examples/rest-json/src/test/java/org/acme/rest/json/RestJsonTest.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * 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.acme.rest.json;
-
-import io.quarkus.test.junit.QuarkusTest;
-import org.junit.jupiter.api.Test;
-
-import static io.restassured.RestAssured.given;
-import static org.hamcrest.CoreMatchers.is;
-import static org.hamcrest.Matchers.containsInAnyOrder;
-
-/**
- * JVM mode tests.
- */
-@QuarkusTest
-public class RestJsonTest {
-
- @Test
- public void fruits() {
-
- /* Assert the initial fruits are there */
- given()
- .when().get("/fruits")
- .then()
- .statusCode(200)
- .body(
- "$.size()", is(2),
- "name", containsInAnyOrder("Apple", "Pineapple"),
- "description", containsInAnyOrder("Winter fruit", "Tropical fruit"));
-
- /* Add a new fruit */
- given()
- .body("{\"name\": \"Pear\", \"description\": \"Winter fruit\"}")
- .header("Content-Type", "application/json")
- .when()
- .post("/fruits")
- .then()
- .statusCode(200)
- .body(
- "$.size()", is(3),
- "name", containsInAnyOrder("Apple", "Pineapple", "Pear"),
- "description", containsInAnyOrder("Winter fruit", "Tropical fruit", "Winter fruit"));
- }
-
- @Test
- public void legumes() {
- given()
- .when().get("/legumes")
- .then()
- .statusCode(200)
- .body("$.size()", is(2),
- "name", containsInAnyOrder("Carrot", "Zucchini"),
- "description", containsInAnyOrder("Root vegetable, usually orange", "Summer squash"));
- }
-
-}
diff --git a/examples/timer-log-cdi/README.adoc b/examples/timer-log-cdi/README.adoc
deleted file mode 100644
index f9d0495..0000000
--- a/examples/timer-log-cdi/README.adoc
+++ /dev/null
@@ -1,57 +0,0 @@
-= timer-log-cdi
-
-This is a basic hello world example that uses CDI to set-up
-a Camel timer that triggers every second and prints to the
-log.
-
-TIP: Check the https://camel.apache.org/camel-quarkus/latest/first-steps.html[Camel Quarkus User guide] for prerequisites
-and other general information.
-
-== Start in the Development mode
-
-[source,shell]
-----
-$ mvn clean compile quarkus:dev
-----
-
-The above command compiles the project, starts the application and lets the Quarkus tooling watch for changes in your
-workspace. Any modifications in your project will automatically take effect in the running application.
-
-TIP: Please refer to the Development mode section of
-https://camel.apache.org/camel-quarkus/latest/first-steps.html#_development_mode[Camel Quarkus User guide] for more details.
-
-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 `Incremented the counter` to `Counter state` in the message body or change the property `timer.period` in application.properties
-
-=== Package and run the application
-
-Once you are done with developing you may want to package and run the application.
-
-TIP: Find more details about the JVM mode and Native mode in the Package and run section of
-https://camel.apache.org/camel-quarkus/latest/first-steps.html#_package_and_run_the_application[Camel Quarkus User guide]
-
-==== JVM mode
-
-[source,shell]
-----
-$ mvn clean package
-$ java -jar target/*-runner.jar
-...
-[io.quarkus] (main) camel-quarkus-examples-... started in 1.163s.
-----
-
-==== Native mode
-
-IMPORTANT: Native mode requires having GraalVM and other tools installed. Please check the Prerequisites section
-of https://camel.apache.org/camel-quarkus/latest/first-steps.html#_prerequisites[Camel Quarkus User guide].
-
-To prepare a native executable using GraalVM, run the following command:
-
-[source,shell]
-----
-$ mvn clean package -Pnative
-$ ./target/*-runner
-...
-[io.quarkus] (main) camel-quarkus-examples-... started in 0.013s.
-...
-----
diff --git a/examples/timer-log-cdi/pom.xml b/examples/timer-log-cdi/pom.xml
deleted file mode 100644
index 76fac1c..0000000
--- a/examples/timer-log-cdi/pom.xml
+++ /dev/null
@@ -1,104 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- 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.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <parent>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-build-parent</artifactId>
- <version>1.2.0-SNAPSHOT</version>
- <relativePath>../../poms/build-parent/pom.xml</relativePath>
- </parent>
-
- <modelVersion>4.0.0</modelVersion>
-
- <artifactId>camel-quarkus-examples-timer-log-cdi</artifactId>
- <name>Camel Quarkus :: Examples :: Timer Log CDI</name>
- <description>Camel Quarkus Example :: Timer to Log CDI</description>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-timer</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-log</artifactId>
- </dependency>
-
- <!-- The following dependencies guarantee that this module is built after them. You can update them by running `mvn process-resources -Pformat -N` from the source tree root directory -->
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-log-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-timer-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>io.quarkus</groupId>
- <artifactId>quarkus-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>build</id>
- <goals>
- <goal>build</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
- <profiles>
- <profile>
- <id>native</id>
- <activation>
- <property>
- <name>native</name>
- </property>
- </activation>
- <properties>
- <quarkus.package.type>native</quarkus.package.type>
- </properties>
- </profile>
- </profiles>
-
-</project>
diff --git a/examples/timer-log-cdi/src/main/java/org/acme/timer/Configurations.java b/examples/timer-log-cdi/src/main/java/org/acme/timer/Configurations.java
deleted file mode 100644
index 7aad0ba..0000000
--- a/examples/timer-log-cdi/src/main/java/org/acme/timer/Configurations.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * 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.acme.timer;
-
-import javax.enterprise.context.ApplicationScoped;
-import javax.inject.Named;
-
-import org.apache.camel.component.log.LogComponent;
-import org.apache.camel.support.processor.DefaultExchangeFormatter;
-
-@ApplicationScoped
-public class Configurations {
- /**
- * Produces a {@link LogComponent} instance with a custom exchange formatter set-up.
- */
- @Named
- LogComponent log() {
- DefaultExchangeFormatter formatter = new DefaultExchangeFormatter();
- formatter.setShowExchangePattern(false);
- formatter.setShowBodyType(false);
-
- LogComponent component = new LogComponent();
- component.setExchangeFormatter(formatter);
-
- return component;
- }
-}
diff --git a/examples/timer-log-cdi/src/main/java/org/acme/timer/Counter.java b/examples/timer-log-cdi/src/main/java/org/acme/timer/Counter.java
deleted file mode 100644
index 67b7739..0000000
--- a/examples/timer-log-cdi/src/main/java/org/acme/timer/Counter.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * 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.acme.timer;
-
-import java.util.concurrent.atomic.AtomicInteger;
-
-import javax.enterprise.context.ApplicationScoped;
-
-/**
- * A counter bean.
- */
-@ApplicationScoped
-public class Counter {
- private final AtomicInteger value = new AtomicInteger(0);
-
- public int increment() {
- return value.incrementAndGet();
- }
-
- public int getValue() {
- return value.get();
- }
-}
diff --git a/examples/timer-log-cdi/src/main/java/org/acme/timer/TimerRoute.java b/examples/timer-log-cdi/src/main/java/org/acme/timer/TimerRoute.java
deleted file mode 100644
index f5c5010..0000000
--- a/examples/timer-log-cdi/src/main/java/org/acme/timer/TimerRoute.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * 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.acme.timer;
-
-import javax.enterprise.context.ApplicationScoped;
-import javax.inject.Inject;
-
-import org.apache.camel.builder.RouteBuilder;
-import org.eclipse.microprofile.config.inject.ConfigProperty;
-
-/**
- * A {@link RouteBuilder} demonstrating the use of CDI (Contexts and Dependency Injection).
- * <p>
- * Note that for the {@code @Inject} and {@code @ConfigProperty} annotations to work, this class has to be annotated
- * with {@code @ApplicationScoped}.
- */
-@ApplicationScoped
-public class TimerRoute extends RouteBuilder {
-
- /**
- * {@code timer.period} is defined in {@code src/main/resources/application.properties}
- */
- @ConfigProperty(name = "timer.period", defaultValue = "1000")
- String period;
-
- /**
- * An injected bean
- */
- @Inject
- Counter counter;
-
- @Override
- public void configure() throws Exception {
- fromF("timer:foo?period=%s", period)
- .setBody(exchange -> "Incremented the counter: " + counter.increment())
- // the configuration of the log component is done programmatically using CDI
- // by the org.acme.timer.Beans::log method.
- .to("log:example");
- }
-}
diff --git a/examples/timer-log-cdi/src/main/resources/application.properties b/examples/timer-log-cdi/src/main/resources/application.properties
deleted file mode 100644
index aa728e8..0000000
--- a/examples/timer-log-cdi/src/main/resources/application.properties
+++ /dev/null
@@ -1,30 +0,0 @@
-## ---------------------------------------------------------------------------
-## 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.banner.enabled = false
-
-# camel look-up beans using BeanManager so we don't want
-# ArC to remove beans without injection points.
-quarkus.arc.remove-unused-beans = false
-
-#
-# Integration
-#
-timer.period = 5000
diff --git a/examples/timer-log-kotlin/pom.xml b/examples/timer-log-kotlin/pom.xml
deleted file mode 100644
index 4e7e560..0000000
--- a/examples/timer-log-kotlin/pom.xml
+++ /dev/null
@@ -1,181 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- 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.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <parent>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-build-parent</artifactId>
- <version>1.2.0-SNAPSHOT</version>
- <relativePath>../../poms/build-parent/pom.xml</relativePath>
- </parent>
-
- <modelVersion>4.0.0</modelVersion>
-
- <artifactId>camel-quarkus-examples-timer-log-kotlin</artifactId>
- <name>Camel Quarkus :: Examples :: Timer Log Kotlin</name>
- <description>Camel Quarkus Example :: Timer to Log Kotlin</description>
-
- <properties>
- <kotlin.version>1.3.21</kotlin.version>
- </properties>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-main</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-timer</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-log</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-kotlin</artifactId>
- </dependency>
-
- <!-- The following dependencies guarantee that this module is built after them. You can update them by running `mvn process-resources -Pformat -N` from the source tree root directory -->
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-kotlin-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-log-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-main-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-timer-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- </dependencies>
-
- <build>
- <sourceDirectory>src/main/kotlin</sourceDirectory>
- <plugins>
- <plugin>
- <groupId>io.quarkus</groupId>
- <artifactId>quarkus-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>build</id>
- <goals>
- <goal>build</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.jetbrains.kotlin</groupId>
- <artifactId>kotlin-maven-plugin</artifactId>
- <version>${kotlin.version}</version>
- <executions>
- <execution>
- <id>compile</id>
- <phase>compile</phase>
- <goals>
- <goal>compile</goal>
- </goals>
- </execution>
- <execution>
- <id>test-compile</id>
- <phase>test-compile</phase>
- <goals>
- <goal>test-compile</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <compilerPlugins>
- <plugin>all-open</plugin>
- </compilerPlugins>
- <pluginOptions>
- <option>all-open:annotation=javax.enterprise.inject.Produces</option>
- <option>all-open:annotation=javax.inject.Singleton</option>
- <option>all-open:annotation=javax.enterprise.context.ApplicationScoped</option>
- </pluginOptions>
- </configuration>
- <dependencies>
- <dependency>
- <groupId>org.jetbrains.kotlin</groupId>
- <artifactId>kotlin-maven-allopen</artifactId>
- <version>${kotlin.version}</version>
- </dependency>
- </dependencies>
- </plugin>
- </plugins>
- </build>
-
- <profiles>
- <profile>
- <id>native</id>
- <activation>
- <property>
- <name>native</name>
- </property>
- </activation>
- <properties>
- <quarkus.package.type>native</quarkus.package.type>
- </properties>
- </profile>
- </profiles>
-
-</project>
diff --git a/examples/timer-log-kotlin/src/main/kotlin/org/acme/timer/routes.kt b/examples/timer-log-kotlin/src/main/kotlin/org/acme/timer/routes.kt
deleted file mode 100644
index 467bab6..0000000
--- a/examples/timer-log-kotlin/src/main/kotlin/org/acme/timer/routes.kt
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * 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.acme.timer
-
-import org.apache.camel.Exchange
-import org.apache.camel.quarkus.kotlin.routes
-import javax.enterprise.context.ApplicationScoped
-import javax.enterprise.inject.Produces
-
-@ApplicationScoped
-class Routes {
- @Produces
- fun myRoutes() = routes {
- from("timer:foo?period=1000")
- .process { e: Exchange -> e.message.body = "Hello from Kotlin!" }
- .log("\${body}")
- }
-}
\ No newline at end of file
diff --git a/examples/timer-log-kotlin/src/main/resources/application.properties b/examples/timer-log-kotlin/src/main/resources/application.properties
deleted file mode 100644
index 16b8c20..0000000
--- a/examples/timer-log-kotlin/src/main/resources/application.properties
+++ /dev/null
@@ -1,28 +0,0 @@
-## ---------------------------------------------------------------------------
-## 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.banner.enabled = false
-
-# to turn on DEBUG logging in camel-main
-# quarkus.log.category."org.apache.camel.main".level = DEBUG
-
-#
-# Camel
-#
-camel.context.name = quarkus-camel-example-timer-log-kotlin
diff --git a/examples/timer-log-main/README.adoc b/examples/timer-log-main/README.adoc
deleted file mode 100644
index d0497e3..0000000
--- a/examples/timer-log-main/README.adoc
+++ /dev/null
@@ -1,56 +0,0 @@
-= timer-log-main
-
-This is a basic hello world example that uses a custom main to set-up
-a Camel timer that triggers every second and prints to the log.
-
-TIP: Check the https://camel.apache.org/camel-quarkus/latest/first-steps.html[Camel Quarkus User guide] for prerequisites
-and other general information.
-
-== Start in the Development mode
-
-[source,shell]
-----
-$ mvn clean compile quarkus:dev
-----
-
-The above command compiles the project, starts the application and lets the Quarkus tooling watch for changes in your
-workspace. Any modifications in your project will automatically take effect in the running application.
-
-TIP: Please refer to the Development mode section of
-https://camel.apache.org/camel-quarkus/latest/first-steps.html#_development_mode[Camel Quarkus User guide] for more details.
-
-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 `Incremented the counter` to `Counter state` in the message body or change the property `timer.period` in application.properties
-
-=== Package and run the application
-
-Once you are done with developing you may want to package and run the application.
-
-TIP: Find more details about the JVM mode and Native mode in the Package and run section of
-https://camel.apache.org/camel-quarkus/latest/first-steps.html#_package_and_run_the_application[Camel Quarkus User guide]
-
-==== JVM mode
-
-[source,shell]
-----
-$ mvn clean package
-$ java -jar target/*-runner.jar
-...
-[io.quarkus] (main) camel-quarkus-examples-... started in 1.163s.
-----
-
-==== Native mode
-
-IMPORTANT: Native mode requires having GraalVM and other tools installed. Please check the Prerequisites section
-of https://camel.apache.org/camel-quarkus/latest/first-steps.html#_prerequisites[Camel Quarkus User guide].
-
-To prepare a native executable using GraalVM, run the following command:
-
-[source,shell]
-----
-$ mvn clean package -Pnative
-$ ./target/*-runner
-...
-[io.quarkus] (main) camel-quarkus-examples-... started in 0.013s.
-...
-----
diff --git a/examples/timer-log-main/pom.xml b/examples/timer-log-main/pom.xml
deleted file mode 100644
index b8dc003..0000000
--- a/examples/timer-log-main/pom.xml
+++ /dev/null
@@ -1,121 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- 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.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <parent>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-build-parent</artifactId>
- <version>1.2.0-SNAPSHOT</version>
- <relativePath>../../poms/build-parent/pom.xml</relativePath>
- </parent>
-
- <modelVersion>4.0.0</modelVersion>
-
- <artifactId>camel-quarkus-examples-timer-log-main</artifactId>
- <name>Camel Quarkus :: Examples :: Timer Log Main</name>
- <description>Camel Quarkus Example :: Timer to Log Main</description>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-main</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-timer</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-log</artifactId>
- </dependency>
-
- <!-- The following dependencies guarantee that this module is built after them. You can update them by running `mvn process-resources -Pformat -N` from the source tree root directory -->
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-log-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-main-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-timer-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>io.quarkus</groupId>
- <artifactId>quarkus-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>build</id>
- <goals>
- <goal>build</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
- <profiles>
- <profile>
- <id>native</id>
- <activation>
- <property>
- <name>native</name>
- </property>
- </activation>
- <properties>
- <quarkus.package.type>native</quarkus.package.type>
- </properties>
- </profile>
- </profiles>
-
-</project>
diff --git a/examples/timer-log-main/src/main/java/org/acme/timer/Main.java b/examples/timer-log-main/src/main/java/org/acme/timer/Main.java
deleted file mode 100644
index 9299d43..0000000
--- a/examples/timer-log-main/src/main/java/org/acme/timer/Main.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * 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.acme.timer;
-
-import io.quarkus.runtime.Quarkus;
-import io.quarkus.runtime.annotations.QuarkusMain;
-import org.apache.camel.quarkus.main.CamelMainApplication;
-
-@QuarkusMain
-public class Main {
- public static void main(String... args) {
- Quarkus.run(CamelMainApplication.class, args);
- }
-}
diff --git a/examples/timer-log-main/src/main/java/org/acme/timer/TimerRoute.java b/examples/timer-log-main/src/main/java/org/acme/timer/TimerRoute.java
deleted file mode 100644
index c33c153..0000000
--- a/examples/timer-log-main/src/main/java/org/acme/timer/TimerRoute.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * 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.acme.timer;
-
-import javax.enterprise.context.ApplicationScoped;
-
-import org.apache.camel.builder.RouteBuilder;
-
-/**
- * A simple {@link RouteBuilder}.
- */
-@ApplicationScoped
-public class TimerRoute extends RouteBuilder {
- @Override
- public void configure() throws Exception {
- from("timer:foo?period={{timer.period}}")
- .setBody().constant("Hello from Main!")
- .to("log:example");
- }
-}
diff --git a/examples/timer-log-main/src/main/resources/application.properties b/examples/timer-log-main/src/main/resources/application.properties
deleted file mode 100644
index dd370b0..0000000
--- a/examples/timer-log-main/src/main/resources/application.properties
+++ /dev/null
@@ -1,42 +0,0 @@
-## ---------------------------------------------------------------------------
-## 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.banner.enabled = false
-
-# camel look-up beans using BeanManager so we don't want
-# ArC to remove beans without injection points.
-quarkus.arc.remove-unused-beans = false
-
-#
-# Camel - Main
-#
-camel.main.duration-hit-exit-code = 15
-
-#
-# Camel - Components
-#
-camel.component.log.exchange-formatter = #class:org.apache.camel.support.processor.DefaultExchangeFormatter
-camel.component.log.exchange-formatter.show-exchange-pattern = false
-camel.component.log.exchange-formatter.show-body-type = false
-
-#
-# Integration
-#
-timer.period = 5000
diff --git a/examples/timer-log-spring/README.adoc b/examples/timer-log-spring/README.adoc
deleted file mode 100644
index 1f65a37..0000000
--- a/examples/timer-log-spring/README.adoc
+++ /dev/null
@@ -1,57 +0,0 @@
-= timer-log-spring
-
-This is a basic hello world example that uses Spring to set-up
-a Camel timer that triggers every second and prints to the
-log.
-
-TIP: Check the https://camel.apache.org/camel-quarkus/latest/first-steps.html[Camel Quarkus User guide] for prerequisites
-and other general information.
-
-== Start in the Development mode
-
-[source,shell]
-----
-$ mvn clean compile quarkus:dev
-----
-
-The above command compiles the project, starts the application and lets the Quarkus tooling watch for changes in your
-workspace. Any modifications in your project will automatically take effect in the running application.
-
-TIP: Please refer to the Development mode section of
-https://camel.apache.org/camel-quarkus/latest/first-steps.html#_development_mode[Camel Quarkus User guide] for more details.
-
-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 `Incremented the counter` to `Counter state` in the message body or change the property `timer.period` in application.properties
-
-=== Package and run the application
-
-Once you are done with developing you may want to package and run the application.
-
-TIP: Find more details about the JVM mode and Native mode in the Package and run section of
-https://camel.apache.org/camel-quarkus/latest/first-steps.html#_package_and_run_the_application[Camel Quarkus User guide]
-
-==== JVM mode
-
-[source,shell]
-----
-$ mvn clean package
-$ java -jar target/*-runner.jar
-...
-[io.quarkus] (main) camel-quarkus-examples-... started in 0.497s.
-----
-
-==== Native mode
-
-IMPORTANT: Native mode requires having GraalVM and other tools installed. Please check the Prerequisites section
-of https://camel.apache.org/camel-quarkus/latest/first-steps.html#_prerequisites[Camel Quarkus User guide].
-
-To prepare a native executable using GraalVM, run the following command:
-
-[source,shell]
-----
-$ mvn clean package -Pnative
-$ ./target/*-runner
-...
-[io.quarkus] (main) camel-quarkus-examples-... started in 0.007s.
-...
-----
diff --git a/examples/timer-log-spring/pom.xml b/examples/timer-log-spring/pom.xml
deleted file mode 100644
index e5c9316..0000000
--- a/examples/timer-log-spring/pom.xml
+++ /dev/null
@@ -1,126 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- 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.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <parent>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-build-parent</artifactId>
- <version>1.2.0-SNAPSHOT</version>
- <relativePath>../../poms/build-parent/pom.xml</relativePath>
- </parent>
-
- <modelVersion>4.0.0</modelVersion>
-
- <artifactId>camel-quarkus-examples-timer-log-spring</artifactId>
- <name>Camel Quarkus :: Examples :: Timer Log Spring</name>
- <description>Camel Quarkus Example :: Timer to Log Spring</description>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-main</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-timer</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-log</artifactId>
- </dependency>
- <dependency>
- <groupId>io.quarkus</groupId>
- <artifactId>quarkus-spring-di</artifactId>
- </dependency>
-
- <!-- The following dependencies guarantee that this module is built after them. You can update them by running `mvn process-resources -Pformat -N` from the source tree root directory -->
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-log-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-main-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-timer-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>io.quarkus</groupId>
- <artifactId>quarkus-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>build</id>
- <goals>
- <goal>build</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
- <profiles>
- <profile>
- <id>native</id>
- <activation>
- <property>
- <name>native</name>
- </property>
- </activation>
- <properties>
- <quarkus.package.type>native</quarkus.package.type>
- </properties>
- </profile>
- </profiles>
-
-</project>
diff --git a/examples/timer-log-spring/src/main/java/org/acme/timer/Counter.java b/examples/timer-log-spring/src/main/java/org/acme/timer/Counter.java
deleted file mode 100644
index 3587d58..0000000
--- a/examples/timer-log-spring/src/main/java/org/acme/timer/Counter.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * 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.acme.timer;
-
-import java.util.concurrent.atomic.AtomicInteger;
-
-import org.springframework.stereotype.Component;
-
-/**
- * A counter bean.
- */
-@Component
-public class Counter {
- private final AtomicInteger value = new AtomicInteger(0);
-
- public int increment() {
- return value.incrementAndGet();
- }
-
- public int getValue() {
- return value.get();
- }
-}
diff --git a/examples/timer-log-spring/src/main/java/org/acme/timer/TimerRoute.java b/examples/timer-log-spring/src/main/java/org/acme/timer/TimerRoute.java
deleted file mode 100644
index a7cdd61..0000000
--- a/examples/timer-log-spring/src/main/java/org/acme/timer/TimerRoute.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * 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.acme.timer;
-
-import org.apache.camel.builder.RouteBuilder;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.beans.factory.annotation.Value;
-import org.springframework.stereotype.Service;
-
-/**
- * A {@link RouteBuilder} demonstrating the use of Spring Dependency Injection.
- */
-@Service
-public class TimerRoute extends RouteBuilder {
-
- /**
- * {@code timer.period} is defined in {@code src/main/resources/application.properties}
- */
- @Value("timer.period")
- String period = "1000";
-
- /**
- * An injected bean
- */
- @Autowired
- Counter counter;
-
- @Override
- public void configure() throws Exception {
- fromF("timer:foo?period=%s", period)
- .setBody(exchange -> "Incremented the counter: " + counter.increment())
- .to("log:example?showExchangePattern=false&showBodyType=false");
- }
-}
diff --git a/examples/timer-log-spring/src/main/resources/application.properties b/examples/timer-log-spring/src/main/resources/application.properties
deleted file mode 100644
index 096809f..0000000
--- a/examples/timer-log-spring/src/main/resources/application.properties
+++ /dev/null
@@ -1,32 +0,0 @@
-## ---------------------------------------------------------------------------
-## 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.banner.enabled = false
-
-#
-# Camel
-#
-camel.context.name = quarkus-camel-example-timer-log-spring
-
-#
-# Integration
-#
-
-timer.period = 5000
\ No newline at end of file
diff --git a/examples/timer-log-xml/README.adoc b/examples/timer-log-xml/README.adoc
deleted file mode 100644
index 0e7af51..0000000
--- a/examples/timer-log-xml/README.adoc
+++ /dev/null
@@ -1,58 +0,0 @@
-= timer-log-xml
-
-This is a basic hello world example that uses XML to set-up
-a Camel timer that triggers every second and prints to the
-log.
-
-TIP: Check the https://camel.apache.org/camel-quarkus/latest/first-steps.html[Camel Quarkus User guide] for prerequisites
-and other general information.
-
-== Start in the Development mode
-
-[source,shell]
-----
-$ mvn clean compile quarkus:dev
-----
-
-The above command compiles the project, starts the application and lets the Quarkus tooling watch for changes in your
-workspace. Any modifications in your project will automatically take effect in the running application.
-
-TIP: Please refer to the Development mode section of
-https://camel.apache.org/camel-quarkus/latest/first-steps.html#_development_mode[Camel Quarkus User guide] for more details.
-
-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 XML`.
-
-=== Package and run the application
-
-Once you are done with developing you may want to package and run the application.
-
-TIP: Find more details about the JVM mode and Native mode in the Package and run section of
-https://camel.apache.org/camel-quarkus/latest/first-steps.html#_package_and_run_the_application[Camel Quarkus User guide]
-
-==== JVM mode
-
-[source,shell]
-----
-$ mvn clean package
-$ java -jar target/*-runner.jar
-...
-[io.quarkus] (main) camel-quarkus-examples-... started in 1.163s.
-----
-
-==== Native mode
-
-IMPORTANT: Native mode requires having GraalVM and other tools installed. Please check the Prerequisites section
-of https://camel.apache.org/camel-quarkus/latest/first-steps.html#_prerequisites[Camel Quarkus User guide].
-
-To prepare a native executable using GraalVM, run the following command:
-
-[source,shell]
-----
-$ mvn clean package -Pnative
-$ ./target/*-runner
-...
-[io.quarkus] (main) camel-quarkus-examples-... started in 0.013s.
-...
-----
diff --git a/examples/timer-log-xml/pom.xml b/examples/timer-log-xml/pom.xml
deleted file mode 100644
index 4a172ef..0000000
--- a/examples/timer-log-xml/pom.xml
+++ /dev/null
@@ -1,141 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- 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.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <parent>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-build-parent</artifactId>
- <version>1.2.0-SNAPSHOT</version>
- <relativePath>../../poms/build-parent/pom.xml</relativePath>
- </parent>
-
- <modelVersion>4.0.0</modelVersion>
-
- <artifactId>camel-quarkus-examples-timer-log-xml</artifactId>
- <name>Camel Quarkus :: Examples :: Timer Log XML</name>
- <description>Camel Quarkus Example :: Timer to Log XML</description>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-main</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-timer</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-log</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-xml-io</artifactId>
- </dependency>
-
- <!-- The following dependencies guarantee that this module is built after them. You can update them by running `mvn process-resources -Pformat -N` from the source tree root directory -->
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-log-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-main-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-timer-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-xml-io-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>io.quarkus</groupId>
- <artifactId>quarkus-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>build</id>
- <goals>
- <goal>build</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <workingDir>${project.basedir}</workingDir>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
- <profiles>
- <profile>
- <id>native</id>
- <activation>
- <property>
- <name>native</name>
- </property>
- </activation>
- <properties>
- <quarkus.package.type>native</quarkus.package.type>
- </properties>
- </profile>
- </profiles>
-
-</project>
diff --git a/examples/timer-log-xml/src/main/java/org/acme/timer/DummyClass.java b/examples/timer-log-xml/src/main/java/org/acme/timer/DummyClass.java
deleted file mode 100644
index abb42bd..0000000
--- a/examples/timer-log-xml/src/main/java/org/acme/timer/DummyClass.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * 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.acme.timer;
-
-public class DummyClass {
-}
diff --git a/examples/timer-log-xml/src/main/java/org/acme/timer/package-info.java b/examples/timer-log-xml/src/main/java/org/acme/timer/package-info.java
deleted file mode 100644
index 764066e..0000000
--- a/examples/timer-log-xml/src/main/java/org/acme/timer/package-info.java
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * 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.acme.timer;
-
-// Added to avoid quarkus-maven-plugin warning about empty source tree
diff --git a/examples/timer-log-xml/src/main/resources/application.properties b/examples/timer-log-xml/src/main/resources/application.properties
deleted file mode 100644
index a711cde..0000000
--- a/examples/timer-log-xml/src/main/resources/application.properties
+++ /dev/null
@@ -1,33 +0,0 @@
-## ---------------------------------------------------------------------------
-## 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.banner.enabled = false
-
-# to turn on DEBUG logging in camel-main
-# quarkus.log.category."org.apache.camel.main".level = DEBUG
-
-#
-# Camel
-#
-camel.context.name = quarkus-camel-example-timer-log-xml
-
-#
-# Camel Main
-#
-camel.main.xml-routes = file:src/main/resources/routes/my-routes.xml
diff --git a/examples/timer-log-xml/src/main/resources/routes/my-routes.xml b/examples/timer-log-xml/src/main/resources/routes/my-routes.xml
deleted file mode 100644
index ed63c39..0000000
--- a/examples/timer-log-xml/src/main/resources/routes/my-routes.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- 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.
-
--->
-<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
- http://camel.apache.org/schema/spring/camel-spring.xsd">
-
- <route id="xml-route">
- <from uri="timer:from-xml?period=1000"/>
- <log message="Hello XML!"/>
- </route>
-
-</routes>
\ No newline at end of file
diff --git a/examples/timer-log/README.adoc b/examples/timer-log/README.adoc
deleted file mode 100644
index 8596a9f..0000000
--- a/examples/timer-log/README.adoc
+++ /dev/null
@@ -1,57 +0,0 @@
-= timer-log
-
-This is a basic hello world example that uses a Camel timer that
-triggers every second and prints to the log.
-
-TIP: Check the https://camel.apache.org/camel-quarkus/latest/first-steps.html[Camel Quarkus User guide] for prerequisites
-and other general information.
-
-== Start in the Development mode
-
-[source,shell]
-----
-$ mvn clean compile quarkus:dev
-----
-
-The above command compiles the project, starts the application and lets the Quarkus tooling watch for changes in your
-workspace. Any modifications in your project will automatically take effect in the running application.
-
-TIP: Please refer to the Development mode section of
-https://camel.apache.org/camel-quarkus/latest/first-steps.html#_development_mode[Camel Quarkus User guide] for more details.
-
-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`.
-
-=== Package and run the application
-
-Once you are done with developing you may want to package and run the application.
-
-TIP: Find more details about the JVM mode and Native mode in the Package and run section of
-https://camel.apache.org/camel-quarkus/latest/first-steps.html#_package_and_run_the_application[Camel Quarkus User guide]
-
-==== JVM mode
-
-[source,shell]
-----
-$ mvn clean package
-$ java -jar target/*-runner.jar
-...
-[io.quarkus] (main) camel-quarkus-examples-... started in 1.163s.
-----
-
-==== Native mode
-
-IMPORTANT: Native mode requires having GraalVM and other tools installed. Please check the Prerequisites section
-of https://camel.apache.org/camel-quarkus/latest/first-steps.html#_prerequisites[Camel Quarkus User guide].
-
-To prepare a native executable using GraalVM, run the following command:
-
-[source,shell]
-----
-$ mvn clean package -Pnative
-$ ./target/*-runner
-...
-[io.quarkus] (main) camel-quarkus-examples-... started in 0.013s.
-...
-----
diff --git a/examples/timer-log/pom.xml b/examples/timer-log/pom.xml
deleted file mode 100644
index d6f3c65..0000000
--- a/examples/timer-log/pom.xml
+++ /dev/null
@@ -1,122 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- 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.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <parent>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-build-parent</artifactId>
- <version>1.2.0-SNAPSHOT</version>
- <relativePath>../../poms/build-parent/pom.xml</relativePath>
- </parent>
-
- <modelVersion>4.0.0</modelVersion>
-
- <artifactId>camel-quarkus-examples-timer-log</artifactId>
- <name>Camel Quarkus :: Examples :: Timer Log</name>
- <description>Camel Quarkus Example :: Timer to Log</description>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-main</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-timer</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-log</artifactId>
- </dependency>
-
- <!-- The following dependencies guarantee that this module is built after them. You can update them by running `mvn process-resources -Pformat -N` from the source tree root directory -->
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-log-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-main-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-timer-deployment</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>io.quarkus</groupId>
- <artifactId>quarkus-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>build</id>
- <goals>
- <goal>build</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
- <profiles>
- <profile>
- <id>native</id>
- <activation>
- <property>
- <name>native</name>
- </property>
- </activation>
- <properties>
- <quarkus.package.type>native</quarkus.package.type>
- </properties>
- </profile>
- </profiles>
-
-</project>
diff --git a/examples/timer-log/src/main/java/org/acme/timer/TimerRoute.java b/examples/timer-log/src/main/java/org/acme/timer/TimerRoute.java
deleted file mode 100644
index 0a3b0b9..0000000
--- a/examples/timer-log/src/main/java/org/acme/timer/TimerRoute.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * 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.acme.timer;
-
-import org.apache.camel.builder.RouteBuilder;
-
-public class TimerRoute extends RouteBuilder {
-
- @Override
- public void configure() throws Exception {
- from("timer:foo?period=1000")
- .log("Hello World");
- }
-}
diff --git a/examples/timer-log/src/main/resources/application.properties b/examples/timer-log/src/main/resources/application.properties
deleted file mode 100644
index 261dde5..0000000
--- a/examples/timer-log/src/main/resources/application.properties
+++ /dev/null
@@ -1,26 +0,0 @@
-## ---------------------------------------------------------------------------
-## 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.banner.enabled = false
-
-#
-# Camel
-#
-camel.context.name = quarkus-camel-example-timer-log
-
diff --git a/pom.xml b/pom.xml
index d0451fd..9e68be4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -164,7 +164,6 @@
<module>catalog</module>
<module>integration-tests-support</module>
<module>integration-tests</module>
- <module>examples</module>
<module>docs</module>
</modules>