You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2011/04/30 14:36:03 UTC

[jira] [Reopened] (CAMEL-1361) Idea - Splitter EIP as a @Split annotation

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

Claus Ibsen reopened CAMEL-1361:
--------------------------------


> Idea - Splitter EIP as a @Split annotation
> ------------------------------------------
>
>                 Key: CAMEL-1361
>                 URL: https://issues.apache.org/jira/browse/CAMEL-1361
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.8.0
>
>
> Do we need a @Split annotation so we can use POJO routing with the Splitter EIP
> {code}
> @Split
> public List splitByWords(String payload) {
>   // do reg exp to split string in words
> }
> {code}
> And we can route it as
> {code}
> from("file://inbox").beanRef(MySplitBean.class).to("seda:word");
> {code}
> Maybe its a bit overkill, but James like to create annotations :)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira