camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "liugang" <clevers...@gmail.com>
Subject RE: RecipientList with delimiter argument
Date Wed, 09 Jan 2013 09:23:33 GMT
OK, thanks. 

GangLiu

-----Original Message-----
From: Claus Ibsen [mailto:claus.ibsen@gmail.com] 
Sent: Wednesday, January 09, 2013 4:23 PM
To: users@camel.apache.org
Subject: Re: RecipientList with delimiter argument

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 <clevers594@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: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen


Mime
View raw message