You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2022/10/26 08:39:07 UTC

[camel] branch main updated: Update rest-dsl.adoc

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


The following commit(s) were added to refs/heads/main by this push:
     new 8f7a80a789b Update rest-dsl.adoc
8f7a80a789b is described below

commit 8f7a80a789b44d3c190903a000825d39b3ae19ec
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Wed Oct 26 10:39:01 2022 +0200

    Update rest-dsl.adoc
---
 docs/user-manual/modules/ROOT/pages/rest-dsl.adoc | 25 -----------------------
 1 file changed, 25 deletions(-)

diff --git a/docs/user-manual/modules/ROOT/pages/rest-dsl.adoc b/docs/user-manual/modules/ROOT/pages/rest-dsl.adoc
index c6db7a5d729..cb533ea3ea4 100644
--- a/docs/user-manual/modules/ROOT/pages/rest-dsl.adoc
+++ b/docs/user-manual/modules/ROOT/pages/rest-dsl.adoc
@@ -163,31 +163,6 @@ For example:
      .to("direct:item")
 ----
 
-== Using Dynamic To in Rest DSL
-
-The Rest DSL supports xref:components:eips:toD-eip.adoc[Dynamic To] EIP (`toD`)
-to in the rest-dsl. For example to do a xref:components:eips:requestReply-eip.adoc[Request Reply]
-over xref:components::jms-component.adoc[JMS] where the queue name is dynamic defined
-
-[source,java]
-----
-public void configure() throws Exception {
-   rest("/say")
-     .get("/hello/{language}").toD("jms:queue:hello-${header.language}");
-}
-----
-
-And in XML DSL
-
-[source,xml]
-----
-<rest uri="/say">
-  <get uri="/hello//{language}">
-    <toD uri="jms:queue:hello-${header.language}"/>
-  </get>
-</rest>
-----
-
 
 == Managing Rest services