spring-integration / org.springframework.integration.dsl / KotlinIntegrationFlowDefinition / aggregate

aggregate

fun aggregate(aggregator: Any): Unit

A short-cut for the aggregate { processor(aggregatorProcessor) }

Since
5.5

fun aggregate(aggregator: AggregatorSpec.() -> Unit = {}): Unit

Populate the AggregatingMessageHandler with provided options from AggregatorSpec. In addition accept options for the integration endpoint using GenericEndpointSpec.