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 2021/09/23 15:11:53 UTC
[camel] branch main updated (4bb80cb -> 91846ec)
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git.
from 4bb80cb CAMEL-16861: Cleanup and update EIP docs
new d0cacfe CAMEL-16861: Cleanup and update EIP docs
new 91846ec Regen
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../main/docs/modules/eips/pages/kamelet-eip.adoc | 20 +++++++++++---------
.../model/InterceptSendToEndpointDefinition.java | 2 +-
2 files changed, 12 insertions(+), 10 deletions(-)
[camel] 01/02: CAMEL-16861: Cleanup and update EIP docs
Posted by da...@apache.org.
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 d0cacfe3bdc303ec64e93aff583e099ad80c5488
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Sep 23 17:09:56 2021 +0200
CAMEL-16861: Cleanup and update EIP docs
---
.../main/docs/modules/eips/pages/kamelet-eip.adoc | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
diff --git a/core/camel-core-engine/src/main/docs/modules/eips/pages/kamelet-eip.adoc b/core/camel-core-engine/src/main/docs/modules/eips/pages/kamelet-eip.adoc
index 8a6e8cf..1355e9e 100644
--- a/core/camel-core-engine/src/main/docs/modules/eips/pages/kamelet-eip.adoc
+++ b/core/camel-core-engine/src/main/docs/modules/eips/pages/kamelet-eip.adoc
@@ -11,6 +11,13 @@ hiding all the low level details about how those connections are implemented.
The Kamelet EIP allows to call Kamelets (route templates).
When calling a Kamelet you may just refer to the name (template id) of the Kamelet in the EIP as shown below:
+== Options
+// eip options: START
+include::partial$eip-options.adoc[]
+// eip options: END
+
+== Using Kamelet EIP
+
[source,java]
----
from("direct:start")
@@ -18,15 +25,15 @@ from("direct:start")
.to("mock:result");
----
+And in XML
+
[source,xml]
----
-<camelContext xmlns="http://camel.apache.org/schema/spring">
- <route>
+<route>
<from uri="direct:start"/>
<kamelet name="foo"/>
<to uri="mock:result"/>
- </route>
-</camelContext>
+</route>
----
Camel will then, when starting:
@@ -34,11 +41,6 @@ Camel will then, when starting:
* lookup the route template with the given id (i.e. foo) from the Camel context
* create a new route based on the route template
-== Options
-// eip options: START
-include::partial$eip-options.adoc[]
-// eip options: END
-
== Dependency
The implementation of the Kamelet EIP is located in the `camel-kamelet` JAR, so you should add the following dependency:
[camel] 02/02: Regen
Posted by da...@apache.org.
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 91846ec9ad579c0de97141c0623d4538a451b46a
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Sep 23 17:11:20 2021 +0200
Regen
---
.../java/org/apache/camel/model/InterceptSendToEndpointDefinition.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/camel-core-model/src/main/java/org/apache/camel/model/InterceptSendToEndpointDefinition.java b/core/camel-core-model/src/main/java/org/apache/camel/model/InterceptSendToEndpointDefinition.java
index 21934a1..af9380c 100644
--- a/core/camel-core-model/src/main/java/org/apache/camel/model/InterceptSendToEndpointDefinition.java
+++ b/core/camel-core-model/src/main/java/org/apache/camel/model/InterceptSendToEndpointDefinition.java
@@ -111,7 +111,7 @@ public class InterceptSendToEndpointDefinition extends OutputDefinition<Intercep
/**
* After sending to the endpoint then send the message to this url which allows to process its result.
*
- * @return the builder
+ * @return the builder
* @deprecated use {@link #afterUri(String)}
*/
@Deprecated