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 d0e2203  Update recipientList-eip.adoc (#4080)
d0e2203 is described below

commit d0e220325acb0547d3fe76c1c6f782ee35f1ce62
Author: Jeremy Ross <jeremy.g.r...@gmail.com>
AuthorDate: Fri Aug 7 09:29:06 2020 -0500

    Update recipientList-eip.adoc (#4080)
    
    recipientList(String) accepts a string that is the delimiter to be used. In 
this case, we're specifying the route list, so we need to use the 
recipientList(Expression) overload and the simplest thing is to just wrap the 
string in constant().
---
 .../src/main/docs/modules/eips/pages/recipientList-eip.adoc             | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/core/camel-core-engine/src/main/docs/modules/eips/pages/recipientList-eip.adoc
 
b/core/camel-core-engine/src/main/docs/modules/eips/pages/recipientList-eip.adoc
index 87079a0..a74a469 100644
--- 
a/core/camel-core-engine/src/main/docs/modules/eips/pages/recipientList-eip.adoc
+++ 
b/core/camel-core-engine/src/main/docs/modules/eips/pages/recipientList-eip.adoc
@@ -49,7 +49,7 @@ The following example shows how to route a request from an 
input *queue:a* endpo
 [source,java]
 ----
 from("jms:queue:a")
-    .recipientList("direct:b,direct:c,direct:d");
+    .recipientList(constant("direct:b,direct:c,direct:d"));
 ----
 
 And in XML:

Reply via email to