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] [Created] (CAMEL-7687) AggregationStrategy - For XML DSL allow to combine from the toolbox
Date Tue, 12 Aug 2014 18:31:14 GMT
Claus Ibsen created CAMEL-7687:
----------------------------------

             Summary: AggregationStrategy - For XML DSL allow to combine from the toolbox
                 Key: CAMEL-7687
                 URL: https://issues.apache.org/jira/browse/CAMEL-7687
             Project: Camel
          Issue Type: New Feature
          Components: camel-core
            Reporter: Claus Ibsen
             Fix For: Future


When using an AggregationStrategy sometimes people want to reuse what we have in the util.toolbox
package from camel-core. But those are not easily composable in xml dsl.

We may consider some way of making this easier. Though not sure what is the best way. We should
be careful not to bloat the XML DSL. So maybe just some ways of composing using <bean>
style etc.

Also maybe some way of having inlined groovy code, so people can do some simple coding as
their aggregation. We have the pojo aggregation style, so mapping to some groovy script could
maybe be possible also. And have some simple way of doing this maybe with parameters mapped
to some fixed names etc to make it simpler. So there is no method signature but just code.

<script>
    return newBody + "," + oldBody
</script>





--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message