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] Commented: (CAMEL-1038) custom aggregation collection
Date Fri, 07 Nov 2008 14:27:05 GMT

    [ https://issues.apache.org/activemq/browse/CAMEL-1038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47177#action_47177
] 

Jonathan Anstey commented on CAMEL-1038:
----------------------------------------

Just committed the fix to remove the ugly <expression/> bit. I didn't merge it to 1.x
because it changes the Spring DSL for aggregator. So, when specifying a aggregation collection
in 2.0, do this:

{code}
      <aggregator batchTimeout="500" collectionRef="aggregatorCollection">
        <to uri="mock:result"/>
      </aggregator>
{code}

in 1.x

{code}
      <aggregator batchTimeout="500" collectionRef="aggregatorCollection">
        <expression/>
        <to uri="mock:result"/>
      </aggregator>
{code}

In order to do this I had to change the regular aggregator syntax in 2.0 as well:

{code}
      <aggregator>
        <correlationExpression>
          <simple>header.cheese</simple>
        </correlationExpression>
        <to uri="mock:result"/>
      </aggregator>
{code}

Will be updating the wiki shortly to reflect this.

> custom aggregation collection
> -----------------------------
>
>                 Key: CAMEL-1038
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1038
>             Project: Apache Camel
>          Issue Type: Sub-task
>    Affects Versions: 1.4.0, 1.5.0
>            Reporter: Jonathan Anstey
>            Assignee: Jonathan Anstey
>             Fix For: 1.5.1, 2.0.0
>
>


-- 
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