Hello!!

I just noticed the the header called CamelSplitComplete in camel splitter
EIP.

My requirement is to create a single file at the end of aggregation. I have
configured my aggergator as follows

*<aggregate strategyRef="AggregateIndividualRecords"> 
                                <correlationExpression>
                                        <constant>true</constant>
                                </correlationExpression>
                                <completionPredicate>
                                        <simple>${in.header.CamelSplitComplete} 
== true</simple>
                                </completionPredicate>
                                <setHeader headerName="CamelFileName">
                                        <simple>${exchangeId}</simple>
                                </setHeader>
                                <log message="Inside Agg"/>
                                <to uri="file:aggregatedRecords" />
                        </aggregate>*

But unfortunately, the control is not entering this block at all. Am I
missing out on something? I my completionPredicate configured properly?

Cheers
Reji



-----
Reji Mathews
Sr. Developer - Middleware Integration / SOA ( Open Source - Apache Camel & 
Jboss Fuse ESB | Mule ESB )
LinkedIn - http://in.linkedin.com/pub/reji-mathews/31/9a2/40a
Twitter - reji_mathews
--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-Aggregator-Completion-based-on-CamelSplitComplete-tp5774653.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to