Re: Assigning File names to exchanges generated from split

2012-07-09 Thread somnath
Thanks Claus, I tried the below and it worked. from("file:c:/somnath/camel/inbox?noop=true&delay=48") .autoStartup(true) .aggregate(simple("hi"),(OMAggregationStrategy)context.getBean("om-aggregation-strategy")).completionFromBatchConsumer() .beanRef(&quo

Filter and Aggregation Completion

2012-07-06 Thread somnath
.aggregate(simple(ANY_LITERAL),new MyAggregator()).completionFromBatchConsumer() .beanRef("my-processor", "process") .to("file:/camel/outbox?flatten=true"); Is this an expected behaviour? -Somnath -- View this message in context: htt

Assigning File names to exchanges generated from split

2012-07-06 Thread somnath
generate more meaningful names to the files rather than the one assigned through the setHeader line which basically is the exchange ID. The processor can spit out the various components of the name which I can assign to a bean in the processor bean. Is there a way I can access this bean in the setH