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
.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
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