diff --git a/topics/oidc/java/fuse/camel.adoc b/topics/oidc/java/fuse/camel.adoc index 1cd7a21564..324c912bb7 100644 --- a/topics/oidc/java/fuse/camel.adoc +++ b/topics/oidc/java/fuse/camel.adoc @@ -93,3 +93,63 @@ org.osgi.service.blueprint.container, org.osgi.service.event, ---- +===== Camel RestDSL + +Camel RestDSL is a Camel feature to define your REST endpoints in a fluent way. +But under the hood, the capability to provide all this magic, is still demanded to specific implementation classes and +you have to instruct them on how to integrate with Keycloak. + +The way to configure the integration mechanism depends on the Camel component that you configure your RestDSL defined routes to work with. + +This is an example that show how to do it while using Jetty engine, with reference to some beans defined in the example above. + +[source,xml] +---- + + + + + + + + + + + + + + + + + + + + + + + + + + Hello rest service + + Just an helllo + + + + + + + + + + + (__This second sentence is returned from a Camel RestDSL endpoint__) + + + + + +---