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:44:13 UTC
[camel] branch master updated (08af109 -> 63805e4)
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git.
from 08af109 Added description of roundRobin
new c75f7d6 Added description of sticky Load balancing
new 6a05393 Added topic load balancer EIP docs
new 63805e4 Added Topic load balancer EIP description
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
camel-core/src/main/docs/eips/sticky-eip.adoc | 2 +-
.../main/docs/eips/{roundRobin-eip.adoc => topic-eip.adoc} | 12 ++++++------
2 files changed, 7 insertions(+), 7 deletions(-)
copy camel-core/src/main/docs/eips/{roundRobin-eip.adoc => topic-eip.adoc} (65%)
--
To stop receiving notification emails like this one, please contact
acosentino@apache.org.
[camel] 01/03: Added description of sticky Load balancing
Posted by ac...@apache.org.
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 c75f7d617187fdf4e69875456983e757b6b76faf
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Feb 20 13:37:11 2018 +0100
Added description of sticky Load balancing
---
camel-core/src/main/docs/eips/sticky-eip.adoc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/camel-core/src/main/docs/eips/sticky-eip.adoc b/camel-core/src/main/docs/eips/sticky-eip.adoc
index 89bc416..b0c04f6 100644
--- a/camel-core/src/main/docs/eips/sticky-eip.adoc
+++ b/camel-core/src/main/docs/eips/sticky-eip.adoc
@@ -1,7 +1,7 @@
[[sticky-eip]]
== Sticky EIP
-Sticky Load Balancer
+Sticky Load Balancer. Sticky load balancing uses an Expression to calculate a correlation key to perform the sticky load balancing.
=== Options
--
To stop receiving notification emails like this one, please contact
acosentino@apache.org.
[camel] 03/03: Added Topic load balancer EIP description
Posted by ac...@apache.org.
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 63805e46dd37bcda490154bc84b36783772634ce
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Feb 20 13:43:51 2018 +0100
Added Topic load balancer EIP description
---
camel-core/src/main/docs/eips/topic-eip.adoc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/camel-core/src/main/docs/eips/topic-eip.adoc b/camel-core/src/main/docs/eips/topic-eip.adoc
index 23fc11e..fe269b7 100644
--- a/camel-core/src/main/docs/eips/topic-eip.adoc
+++ b/camel-core/src/main/docs/eips/topic-eip.adoc
@@ -1,7 +1,7 @@
[[topic-eip]]
== Topic EIP
-Topic Load Balancer
+Topic Load Balancer, with this policy you'll get a Topic behavior by sending to all destinations.
=== Options
--
To stop receiving notification emails like this one, please contact
acosentino@apache.org.
[camel] 02/03: Added topic load balancer EIP docs
Posted by ac...@apache.org.
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 6a05393ba8f8f14907a9c35f6b5bc672305ccddc
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Feb 20 13:42:50 2018 +0100
Added topic load balancer EIP docs
---
camel-core/src/main/docs/eips/topic-eip.adoc | 35 ++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/camel-core/src/main/docs/eips/topic-eip.adoc b/camel-core/src/main/docs/eips/topic-eip.adoc
new file mode 100644
index 0000000..23fc11e
--- /dev/null
+++ b/camel-core/src/main/docs/eips/topic-eip.adoc
@@ -0,0 +1,35 @@
+[[topic-eip]]
+== Topic EIP
+
+Topic Load Balancer
+
+=== Options
+
+// eip options: START
+The Topic 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()
+ .topic()
+ .to("seda:x", "seda:y", "seda:z");
+----
+
+In XML you'll have a route like this
+
+[source,xml]
+----
+<from uri="direct:start"/>
+ <loadBalance>
+ <topic/>
+ <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.