camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CAMEL-9207) Make it easy to collate/group N items from a message body with the splitter
Date Fri, 25 Dec 2015 14:12:49 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-9207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen reassigned CAMEL-9207:
----------------------------------

    Assignee: Claus Ibsen

> Make it easy to collate/group N items from a message body with the splitter
> ---------------------------------------------------------------------------
>
>                 Key: CAMEL-9207
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9207
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.17.0
>
>
> For example if you have a list / resultset or something, and you want to split that by
1000, then its not super easy to do.
> The tokenizer language has that but it assume a token is in place. But if the body is
list / collection, we should be able to group them.
> Maybe a function on simple language?
> {code}
> <split>
>   <simple>${collate(${body}, 1000)}</simple>
>   ...
> </split>
> {code}
> Now its to come up with a good function name.
> Also the body could be implied, so its just
> {code}
> <split>
>   <simple>${collate(1000)}</simple>
>   ...
> </split>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message