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 527d08d  Update loadBalance-eip.adoc
527d08d is described below

commit 527d08d541e3d9cee0ec18fdfa28fcdb53be61c3
Author: fg78nc <[email protected]>
AuthorDate: Mon Oct 26 09:54:47 2020 -0400

    Update loadBalance-eip.adoc
    
    Correct type of distributionRatio.
---
 .../src/main/docs/modules/eips/pages/loadBalance-eip.adoc            | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git 
a/core/camel-core-engine/src/main/docs/modules/eips/pages/loadBalance-eip.adoc 
b/core/camel-core-engine/src/main/docs/modules/eips/pages/loadBalance-eip.adoc
index 5a8bc16..87b6cd3 100644
--- 
a/core/camel-core-engine/src/main/docs/modules/eips/pages/loadBalance-eip.adoc
+++ 
b/core/camel-core-engine/src/main/docs/modules/eips/pages/loadBalance-eip.adoc
@@ -193,10 +193,7 @@ The parameters that can be used are
 An example using Java DSL:
 [source,java]
 ----
-List<Integer> distributionRatio = new ArrayList<Integer>();
-distributionRatio.add(4);
-distributionRatio.add(2);
-distributionRatio.add(1);
+String distributionRatio = "4,2,1"
 
 // round-robin
 from("direct:start")

Reply via email to