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 2019/10/22 21:04:13 UTC
[camel] 01/02: CAMEL-13992: Fixed wrong link to example as its in
core so it was a different place
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 10902f43e01853ca78234e716a64e7f0e57ea31e
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Tue Oct 22 23:03:46 2019 +0200
CAMEL-13992: Fixed wrong link to example as its in core so it was a different place
---
components/camel-seda/src/main/docs/seda-component.adoc | 4 ++--
docs/components/modules/ROOT/pages/seda-component.adoc | 11 +++++++++++
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/components/camel-seda/src/main/docs/seda-component.adoc b/components/camel-seda/src/main/docs/seda-component.adoc
index 8c3b38b..f63dcab 100644
--- a/components/camel-seda/src/main/docs/seda-component.adoc
+++ b/components/camel-seda/src/main/docs/seda-component.adoc
@@ -238,14 +238,14 @@ to the original caller.
[source,java]
----
-include::{examplesdir}/components/camel-core/src/test/java/org/apache/camel/component/seda/SedaAsyncRouteTest.java[tags=example]
+include::{examplesdir}/core/camel-core/src/test/java/org/apache/camel/component/seda/SedaAsyncRouteTest.java[tags=example]
----
Here we send a Hello World message and expects the reply to be OK.
[source,java]
----
-include::{examplesdir}/components/camel-core/src/test/java/org/apache/camel/component/seda/SedaAsyncRouteTest.java[tags=example]
+include::{examplesdir}/core/camel-core/src/test/java/org/apache/camel/component/seda/SedaAsyncRouteTest.java[tags=example]
----
diff --git a/docs/components/modules/ROOT/pages/seda-component.adoc b/docs/components/modules/ROOT/pages/seda-component.adoc
index 0820a44..5f5b971 100644
--- a/docs/components/modules/ROOT/pages/seda-component.adoc
+++ b/docs/components/modules/ROOT/pages/seda-component.adoc
@@ -237,8 +237,19 @@ async queue to be able to send a fire-and-forget message for further
processing in another thread, and return a constant reply in this thread
to the original caller.
+[source,java]
+----
+include::{examplesdir}/core/camel-core/src/test/java/org/apache/camel/component/seda/SedaAsyncRouteTest.java[tags=example]
+----
+
Here we send a Hello World message and expects the reply to be OK.
+[source,java]
+----
+include::{examplesdir}/core/camel-core/src/test/java/org/apache/camel/component/seda/SedaAsyncRouteTest.java[tags=example]
+----
+
+
The "Hello World" message will be consumed from the SEDA queue from
another thread for further processing. Since this is from a unit test,
it will be sent to a `mock` endpoint where we can do assertions in the