You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2018/02/20 12:31:29 UTC
[camel] 02/02: Added roundRobin load balancer EIP docs
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
commit 1b393fb26f60fe5b92ee26606f67e34cd96b7566
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Feb 20 13:30:36 2018 +0100
Added roundRobin load balancer EIP docs
---
camel-core/src/main/docs/eips/roundRobin-eip.adoc | 35 +++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/camel-core/src/main/docs/eips/roundRobin-eip.adoc b/camel-core/src/main/docs/eips/roundRobin-eip.adoc
new file mode 100644
index 0000000..388e10a
--- /dev/null
+++ b/camel-core/src/main/docs/eips/roundRobin-eip.adoc
@@ -0,0 +1,35 @@
+[[roundRobin-eip]]
+== Round Robin EIP
+
+Round Robin Load Balancer
+
+=== Options
+
+// eip options: START
+The Round Robin EIP supports 0 options which are listed below:
+// eip options: END
+
+=== Examples
+
+In this case we are using the header test as correlation expression:
+
+[source,java]
+----
+from("direct:start")
+ .loadBalance()
+ .roundRobin()
+ .to("seda:x", "seda:y", "seda:z");
+----
+
+In XML you'll have a route like this
+
+[source,xml]
+----
+<from uri="direct:start"/>
+ <loadBalance>
+ <roundRobin/>
+ <to uri="seda:x"/>
+ <to uri="seda:y"/>
+ <to uri="seda:z"/>
+</loadBalance>
+----
--
To stop receiving notification emails like this one, please contact
acosentino@apache.org.