camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From partha006 <>
Subject camel-jsonpath in correlationExpression of aggregate EIP
Date Tue, 14 Mar 2017 13:14:08 GMT
My input json are



i need to aggregate above input when it has "com.mycompany.app10.Person" ,
so i tried below route to achieve it but even though i used wrong   jsonpath
expression it is getting aggregated.

<route id="aggregate_route2">
            <from id="aggregate_from2"
            <aggregate completionSize="2" id="_aggregate1"
                <log id="aggregate_log1" message="Body aggregate
                <to id="aggregate_to2" uri="activemq:queue:Aggregate.Q"/>

How to use the jsonpath in correlation expression to aggregate my input and
also have to find the "type" based aggregation also. Thank in advance. 

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message