diff --git a/docs/src/reference/docbook/aggregator.xml b/docs/src/reference/docbook/aggregator.xml index 7d0bd2bde2..4803064b41 100644 --- a/docs/src/reference/docbook/aggregator.xml +++ b/docs/src/reference/docbook/aggregator.xml @@ -231,6 +231,28 @@ aggregation, and false otherwise. + + For example: + + >) {...} +}]]> + +) {...} +}]]> + + +As you can see based on the above signatures, the POJO-based Release Strategy will be passed a Collection of unmarked Messages +if you need access to the whole Message or Collection of payload objects if the type parameter is +anything other than Message. Typically this would satisfy the majority of use cases. However if +for some reason you need to access the full MessageGroup - which contains unmarked and marked Messages - +then you should simply provide an implementation of the ReleaseStrategy interface. + When the group is released for aggregation, all its unmarked messages are processed and then marked so they will not be processed