[ 
https://issues.apache.org/jira/browse/CAMEL-5945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13547800#comment-13547800
 ] 

Gao Zhangbohong edited comment on CAMEL-5945 at 1/9/13 9:40 AM:
----------------------------------------------------------------

Can be realize by add blow snippet into ProcessorDefinition.java : L1555:
I need it in a hurry ,please. 
Thanks very much~~~
{code:java}    /**
     * <a href="http://camel.apache.org/recipient-list.html";>Recipient List 
EIP:</a>
     * Creates a dynamic recipient list allowing you to route messages to a 
number of dynamically specified recipients
     *
         * @param delimiter  a custom delimiter to use
     * @return the expression clause to configure the expression to decide the 
destinations
     */
    public ExpressionClause<RecipientListDefinition<Type>> recipientList(String 
delimiter) {
        RecipientListDefinition<Type> answer = new 
RecipientListDefinition<Type>();
                answer.setDelimiter(delimiter);
        addOutput(answer);
        return ExpressionClause.createAndSetExpression(answer);
    }           
{code}
                
      was (Author: gaozone):
    Can be realize by add blow snippet into ProcessorDefinition.java : L1555:
I need it in a hurry ,please. 
Thanks very much~~~
-------------
    /**
     * <a href="http://camel.apache.org/recipient-list.html";>Recipient List 
EIP:</a>
     * Creates a dynamic recipient list allowing you to route messages to a 
number of dynamically specified recipients
     *
         * @param delimiter  a custom delimiter to use
     * @return the expression clause to configure the expression to decide the 
destinations
     */
    public ExpressionClause<RecipientListDefinition<Type>> recipientList(String 
delimiter) {
        RecipientListDefinition<Type> answer = new 
RecipientListDefinition<Type>();
                answer.setDelimiter(delimiter);
        addOutput(answer);
        return ExpressionClause.createAndSetExpression(answer);
    }           

                  
> Add delimiter to recipient list eip in Java DSL
> -----------------------------------------------
>
>                 Key: CAMEL-5945
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5945
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core, eip
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.9.6, 2.10.4, 2.11.0
>
>
> This allows to set the delimiter using the java dsl fluent builder style.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to