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 <[email protected]> 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 [email protected].
