From bc498f78be8b20144967315a97b061a9121bfb6e Mon Sep 17 00:00:00 2001 From: Oleg Zhurakousky Date: Mon, 23 May 2011 19:39:36 -0400 Subject: [PATCH] INT-1912 fixed documentation regarding 'release-strategy-expression' which has List as the root object of SpEL Context (not Message) --- docs/src/reference/docbook/aggregator.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/src/reference/docbook/aggregator.xml b/docs/src/reference/docbook/aggregator.xml index 7c33aa5019..5031b58117 100644 --- a/docs/src/reference/docbook/aggregator.xml +++ b/docs/src/reference/docbook/aggregator.xml @@ -555,12 +555,14 @@ Likewise, for the ReleaseStrategy you can implement your release logic via - a SpEL expression and configure it via the release-strategy-expression attribute. + a SpEL expression and configure it via the release-strategy-expression attribute. + The only exception is that since ReleaseStrategy is passed the List of Messages the the root object in the SopEL + Evaluation context is the List itself which can be referenced as #this. For example: - + In this example the root object of the SpEL Evaluation Context is the MessageGroup itself, and you are simply stating