Idea - Splitter EIP as a @Split annotation
------------------------------------------

                 Key: CAMEL-1361
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1361
             Project: Apache Camel
          Issue Type: New Feature
          Components: camel-core
            Reporter: Claus Ibsen
             Fix For: Future


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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to