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 ccde993  Added Stop EIP docs
ccde993 is described below

commit ccde9936610949f3de3705416d927a68cd3334a3
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Mon Feb 26 09:51:54 2018 +0100

    Added Stop EIP docs
---
 camel-core/src/main/docs/eips/stop-eip.adoc | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/camel-core/src/main/docs/eips/stop-eip.adoc 
b/camel-core/src/main/docs/eips/stop-eip.adoc
new file mode 100644
index 0000000..e17f164
--- /dev/null
+++ b/camel-core/src/main/docs/eips/stop-eip.adoc
@@ -0,0 +1,22 @@
+[[stop-eip]]
+== Stop EIP
+The Stop EIP stops the processing of the current message
+
+== Options
+
+// eip options: START
+The Stop EIP supports 0 options which are listed below:
+// eip options: END
+
+== Examples
+
+[source,java]
+----
+from("direct:start")
+    .choice()
+        .when(body().contains("Hello")).to("mock:hello")
+        .when(body().contains("Bye")).to("mock:bye").stop()
+        .otherwise().to("mock:other")
+    .end()
+.to("mock:result");
+----

-- 
To stop receiving notification emails like this one, please contact
acosent...@apache.org.

Reply via email to