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
The following commit(s) were added to refs/heads/master by this push: new abd6b1d Updated Seda-component.adoc (#3273) abd6b1d is described below commit abd6b1d9a774e2dc60391d2b4774ce1d41e47bb0 Author: ravishankarhassain <ravishankarhass...@gmail.com> AuthorDate: Tue Oct 22 22:00:10 2019 +0100 Updated Seda-component.adoc (#3273) To fix the issue reported in the jira ticket https://issues.apache.org/jira/browse/CAMEL-13992 --- components/camel-seda/src/main/docs/seda-component.adoc | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/components/camel-seda/src/main/docs/seda-component.adoc b/components/camel-seda/src/main/docs/seda-component.adoc index 74a4ca7..8c3b38b 100644 --- a/components/camel-seda/src/main/docs/seda-component.adoc +++ b/components/camel-seda/src/main/docs/seda-component.adoc @@ -236,8 +236,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}/components/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] +---- + + 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