Hello,
I am polling a directory and only want to aggregate files if they meet a
certain criteria (ie: camelfileparent = dir). This works fine, but, the
exchange doesn't process for the messages that don't meet this criteria. My
route is similar to:
from("file:/tmp").
choice().when(header("CamelFileParent").isNotEqualTo("xyz").
aggregate(new MyStrategy()).
to("file:/output");
I want all my exchanges to reach the exit point, but, only the aggregated
ones do.
--
View this message in context:
http://old.nabble.com/Aggregator-tp27707895p27707895.html
Sent from the Camel - Users mailing list archive at Nabble.com.