camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Anstey (JIRA)" <j...@apache.org>
Subject [jira] Created: (CAMEL-1357) Add regexReplaceAll to builder support
Date Wed, 18 Feb 2009 18:10:59 GMT
Add regexReplaceAll to builder support
--------------------------------------

                 Key: CAMEL-1357
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1357
             Project: Apache Camel
          Issue Type: Improvement
    Affects Versions: 1.6.0
            Reporter: Jonathan Anstey
            Assignee: Jonathan Anstey
             Fix For: 2.0.0


... so we can do things like

{code:lang=java}
from("direct:start").setBody(regexReplaceAll(body(), "Foo", "Bar"))...
{code}

which essentially is equivalent to sed 's/Foo/Bar/g' on the body.

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


Mime
View raw message