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)

Reply via email to