Hi

Yeah for method 3 we should have a method so you can set that.
I have logged a ticket
https://issues.apache.org/jira/browse/CAMEL-5945

On Wed, Jan 9, 2013 at 8:00 AM, liugang <clevers...@gmail.com> wrote:
> Hi All:
>
>
>
> When I plan to use recipientList component, I can only select one from:
>
>
>
>          Method 1:
>
>                             public RecipientListDefinition<Type>
> recipientList(Expression recipients) {...}
>
>          Method 2:
>
>                        public RecipientListDefinition<Type>
> recipientList(Expression recipients, String delimiter) {...}
>
>          Method 3:
>
>                             public
> ExpressionClause<RecipientListDefinition<Type>> recipientList() {...}
>
>
>
> Method 3 has more expression can be used than Method 1 and Method 2 , but
> unfortunately, we can't specify the delimiter on this case.
>
>
>
> So I'd like to know, how I can have a method which works like:
>
>
>
>          Method 4:
>
>                             public
> ExpressionClause<RecipientListDefinition<Type>> recipientList(String
> delimiter) {...}
>
>
>
> Thanks a lot
>
>
>
> GangLiu
>



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to