camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kalyanskanda <>
Subject Use FlexibleAggregationStrategy in Spring DSL
Date Thu, 24 Oct 2013 07:24:06 GMT
Would like to enrich component which looks up customerId based on name and
enrich the inMessage for processing.
Please provide a sample on flexibleAggreation on Spring DSL.
Something like : 
 <camel:from uri="file:src/data?noop=true"/>
          <camel:xpath>/person/city = 'London'</camel:xpath>
          <camel:log message="UK message"/>
             <camel:enrich beanRef="GetCityData" >
                 <pick > <simple>"${header.ouput.pincode}</simple></pick>
                            <setHeader ${}</setHeader>
          <camel:to uri="file:target/messages/uk"/>
          <camel:log message="Other message"/>
          <camel:to uri="file:target/messages/others"/>
<bean id="appendXMLStragegy"

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

View raw message