blob: 12add2eefdebf92a0583e93cef0cb4f00201e898 [file] [log] [blame]
= rest-json
This example is a port of Quarkus' quickstart https://github.com/quarkusio/quarkus-quickstarts/blob/master/rest-json[rest-json] to Camel.
To run it:
[source,text]
----
$ mvn clean compile quarkus:dev -DnoDeps
----
Then point your browser to one of the endpoints:
[source,text]
----
http://localhost:8080/fruits
http://localhost:8080/legumes
----
== Native build
To build as native:
[source,text]
----
$ mvn package -Pnative
----
This requires having GraalVM and other tools installed.
See the https://quarkus.io/guides/building-native-image-guide[Quarkus Native Guide] for details.