Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 39FE8ECDC for ; Wed, 9 Jan 2013 08:23:58 +0000 (UTC) Received: (qmail 8465 invoked by uid 500); 9 Jan 2013 08:23:57 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 8382 invoked by uid 500); 9 Jan 2013 08:23:57 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 8363 invoked by uid 99); 9 Jan 2013 08:23:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jan 2013 08:23:57 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of claus.ibsen@gmail.com designates 209.85.215.48 as permitted sender) Received: from [209.85.215.48] (HELO mail-la0-f48.google.com) (209.85.215.48) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jan 2013 08:23:52 +0000 Received: by mail-la0-f48.google.com with SMTP id ej20so1539749lab.7 for ; Wed, 09 Jan 2013 00:23:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=uj4KraabNhXlKG+hndatFjnkUdUS7l6t1W+jURS52Ik=; b=bp8HjAc0CS3WcRgLYsbf6RgfjAE2GcFFvwweUrN1spvFrqT4fCuhrBMXhcOovBtwFw zi49RqQcJSewU51FcRGG23yozCwcCMW2i49rfDTD5fGSVNsTn1bO0TVPFrY9ghRqNTlW hfQOAMQ4fzqnaJ2TfIiKQ7eTsQWmv1lHGBf3UVyx8EEppLa0mfqdGGM58xNE+n14sLjU fjlP7FYOEMnpOeI68EyozTcysUD+D4c+PSIyQlnLB/sIB5sDE2xySpS5IRl5orTreoxW fmBrVH54ZV2wQ4dUA/5KNn30Wfh2SE8Q4HE8fVTwo+WvK6CRgipMFwHI4MBdqUrlTBi3 URTg== Received: by 10.112.23.34 with SMTP id j2mr27652324lbf.118.1357719811405; Wed, 09 Jan 2013 00:23:31 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.103.129 with HTTP; Wed, 9 Jan 2013 00:23:11 -0800 (PST) In-Reply-To: <000c01cdee36$fa290790$ee7b16b0$@com> References: <1357706922719-5725162.post@n5.nabble.com> <000c01cdee36$fa290790$ee7b16b0$@com> From: Claus Ibsen Date: Wed, 9 Jan 2013 09:23:11 +0100 Message-ID: Subject: Re: RecipientList with delimiter argument To: users@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org 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 wrote: > Hi All: > > > > When I plan to use recipientList component, I can only select one from: > > > > Method 1: > > public RecipientListDefinition > recipientList(Expression recipients) {...} > > Method 2: > > public RecipientListDefinition > recipientList(Expression recipients, String delimiter) {...} > > Method 3: > > public > ExpressionClause> 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> 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