This is an automated email from the ASF dual-hosted git repository.

acosentino 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 27b1f4b  Polish seda docs
27b1f4b is described below

commit 27b1f4bfa6819b8ac11c158e73d62474065ba6e8
Author: llowinge <llowi...@redhat.com>
AuthorDate: Wed Mar 31 10:29:38 2021 +0200

    Polish seda docs
    
    Example is shown twice the same.
---
 .../camel-seda/src/main/docs/seda-component.adoc   | 35 +---------------------
 1 file changed, 1 insertion(+), 34 deletions(-)

diff --git a/components/camel-seda/src/main/docs/seda-component.adoc 
b/components/camel-seda/src/main/docs/seda-component.adoc
index 57b6c122..6557138 100644
--- a/components/camel-seda/src/main/docs/seda-component.adoc
+++ b/components/camel-seda/src/main/docs/seda-component.adoc
@@ -220,40 +220,7 @@ 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]
-----
-    @Test
-    public void testSendAsync() throws Exception {
-        MockEndpoint mock = getMockEndpoint("mock:result");
-        mock.expectedBodiesReceived("Hello World");
-
-        // START SNIPPET: e2
-        Object out = template.requestBody("direct:start", "Hello World");
-        assertEquals("OK", out);
-        // END SNIPPET: e2
-
-        assertMockEndpointsSatisfied();
-    }
-
-    @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
-        return new RouteBuilder() {
-            // START SNIPPET: e1
-            public void configure() throws Exception {
-                from("direct:start")
-                    // send it to the seda queue that is async
-                    .to("seda:next")
-                    // return a constant response
-                    .transform(constant("OK"));
-
-                from("seda:next").to("mock:result");
-            }
-            // END SNIPPET: e1
-        };
-    }
-----
-
-Here we send a Hello World message and expects the reply to be OK.
+We send a Hello World message and expects the reply to be OK.
 
 [source,java]
 ----

Reply via email to