You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Gao Zhangbohong (JIRA)" <ji...@apache.org> on 2013/01/09 10:38:12 UTC

[jira] [Commented] (CAMEL-5945) Add delimiter to recipient list eip in Java DSL

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

Gao Zhangbohong commented on CAMEL-5945:
----------------------------------------

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