diff --git a/docs/src/reference/docbook/filter.xml b/docs/src/reference/docbook/filter.xml index 60205718b0..b8bcf12656 100644 --- a/docs/src/reference/docbook/filter.xml +++ b/docs/src/reference/docbook/filter.xml @@ -83,14 +83,15 @@ - With the introduction of SpEL, Spring Integration added the expression attribute to the filter + With the introduction of SpEL support, Spring Integration added the expression attribute to the filter element. It can be used to avoid Java entirely for simple filters. - ]]> + ]]> - The string passed as the expression attribute will be evaluated as a SpEL expression in the context of the message. - If it is needed to include the result of an expression in the scope of the application context you can use the - #{} notation as defined in the SpEL reference documentation + The string passed as the expression attribute will be evaluated as a SpEL expression with the Message available in + the evaluation context. + If it is necessary to include the result of an expression in the scope of the application context you can use the + #{} notation as defined in the SpEL reference documentation . @@ -123,11 +124,13 @@ 100 ]]> - All of the examples that use expression as an attribute or sub-element can also be applied within + All of these examples that use expression as an attribute or sub-element can also be applied within transformer, router, splitter, service-activator, and header-enricher elements. Of course, the semantics/role of the given component type would affect the interpretation of the evaluation result in the same way that the - return or a method-invocation would be interpreted. For example, an expression can return Strings that are - to be treated as Message Channel names by a router component. + return value of a method-invocation would be interpreted. For example, an expression can return Strings that are + to be treated as Message Channel names by a router component. However, the underlying functionality of evaluating + the expression against the Message as the root object, and resolving bean names if prefixed with '@' is consistent + across all of the core EIP components within Spring Integration.