https://github.com/alainpham/quarkus-camel-first-impressions
This shows how to make Camel run with Quarkus.
https://github.com/alainpham/quarkus-camel-first-impressions
Last synced: 2 months ago
JSON representation
This shows how to make Camel run with Quarkus.
- Host: GitHub
- URL: https://github.com/alainpham/quarkus-camel-first-impressions
- Owner: alainpham
- Created: 2019-03-19T15:29:45.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-22T08:47:33.000Z (about 6 years ago)
- Last Synced: 2025-01-27T07:42:31.053Z (4 months ago)
- Language: HTML
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Quarkus Camel example
This shows how to make Camel run with Quarkus.
See also my blog article explaining Quarkus in a bit more detail.
https://alainpham.github.io/posts/quarkus-camel-first-impressions-on-a-game-changing-framework/
```
mvn compile quarkus:dev
```Prerequisite to compile to native executable:
* Download GraalVM
* Extract somewhere and set the ENV variable GRAALVM_HOME```
mvn package -Pnative
./target/quarkus-camel-first-impressions-1.0-SNAPSHOT-runner
```Observe fast boot times :
```
2019-03-19 16:28:38,457 INFO [io.qua.cam.cor.run.FastCamelContext] (main) Route: route1 started and consuming from: timer://testTimer
2019-03-19 16:28:38,459 INFO [io.quarkus] (main) Quarkus 0.11.0 started in 0.007s. Listening on: http://127.0.0.1:8080
2019-03-19 16:28:38,459 INFO [io.quarkus] (main) Installed features: [camel-core, cdi, resteasy]
2019-03-19 16:28:39,457 INFO [route1] (Camel (camel-1) thread #0 - timer://testTimer) test
```