camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] Resolved: (CAMEL-1344) Splitter - attribute to set delimiter for string based splitting
Date Wed, 18 Feb 2009 09:08:59 GMT


Claus Ibsen resolved CAMEL-1344.

    Resolution: Fixed
      Assignee: Claus Ibsen

Committed revision 745442.

> Splitter - attribute to set delimiter for string based splitting
> ----------------------------------------------------------------
>                 Key: CAMEL-1344
>                 URL:
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.6.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0
> The splitter can split a single String body based using comma (by default)
> As some of the other EIP patterns we have an option to set what delimiter to use for
string based splitting.
> This option should be exposed in the Spring DSL as its here it brings most value.
> In the Java DSL you have full power with the expression builds so you can just body().tokenize(seperator)
> In Spring DSL we dont have this power so supporting an attribute in the <split>
tag would be great.
> In the splitter processor just pass in the separator as a 2nd argument in this code:
> {code}
>        final Iterator iterator = ObjectHelper.createIterator(value);
> {code}

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message