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 2009/02/20 09:44:00 UTC
[jira] Created: (CAMEL-1361) Idea - Splitter EIP as a @Split
annotation
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.