This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 2c151a9c64d0a5c28beac3cb20275865c27f31e9 Author: Claus Ibsen <[email protected]> AuthorDate: Thu Aug 12 15:10:49 2021 +0200 Polish and cleanup documentation --- docs/user-manual/modules/ROOT/pages/routes.adoc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/user-manual/modules/ROOT/pages/routes.adoc b/docs/user-manual/modules/ROOT/pages/routes.adoc index 6fdb5088..47e202c 100644 --- a/docs/user-manual/modules/ROOT/pages/routes.adoc +++ b/docs/user-manual/modules/ROOT/pages/routes.adoc @@ -26,7 +26,7 @@ Camel support coding in other languages such as XML: == RouteBuilder with Java DSL -When coding routes with the xref:java-dsl.adoc[Java DSL] then you would use a `RouteBuilder` classes where +When coding routes with the xref:java-dsl.adoc[Java DSL] then you would use a xref:route-builder.adoc[`RouteBuilder`] classes where you code the route in the `configure` method as shown: [source,java] @@ -46,6 +46,7 @@ Camel now supports to define Camel routes in Java DSL using Lambda style. This c you may want to quickly define a few routes. For example using lambda style you can define a Camel route that takes messages from Kafka and send to JMS in a single line of code: + [source,java] ---- rb -> rb.from("kafka:cheese").to("jms:queue:foo"); @@ -56,4 +57,4 @@ See more at the xref:lambda-route-builder.adoc[LambdaRouteBuilder] documentation == More Information -See xref:dsl.adoc[DSL] for a list of supported languages you can use for coding Camel routes. +See xref:route-builder.adoc[RouteBuilder] and xref:dsl.adoc[DSL] for a list of supported languages you can use for coding Camel routes.
