Hello,

I'm working on a CompletionAwareAggregationStrategy (to use with the
Aggregator) based on streams (PipeReader / PipeWriter) with the
purpose of streaming aggregated content to an endpoint (typically a
File producer endpoint).

In my understanding the current practice for gradually creating a file
from an Aggregator involves using the Append mode to add blocks of
content to the output file. This would provide an alternative based on
streams.

I realize this overlaps a bit with the Stream component, but
- using a File component as the final endpoint gives me a lot more
functionality for free (like writing a done file)
- being part of an Aggregator allows for a lot of flexibility (usage
in different patterns)

How does this sound to you? Crazy? Wasteful? Useful for an example?
Useful enough to be added to the Camel source?

Thanks for your comments.
Alvaro.-

Reply via email to