Ich untersuche das Aggregator-Sample in Spring-Projekten/Spring-Integration-Samples.
https://github.com/spring-projects/spring-integration-samples/blob/master/applications/cafe/cafe-si/src/main/resources/META-INF/spring/integration/cafeDemo-xml.xmlSpring Integration Sample :: Aggregator
<int:aggregator input-channel="preparedDrinks" method="prepareDelivery" output-channel="deliveries">
<beans:bean class="org.springframework.integration.samples.cafe.xml.Waiter"/>
</int:aggregator>
public class Waiter {
public Delivery prepareDelivery(List<Drink> drinks) {
return new Delivery(drinks);
}
}
Die Kellner Klasse angeben keine Korrelation/Release-Strategie. Wie werden die Artikel aggregiert/freigegeben?