diff --git a/spring-integration-reference/src/transformer.xml b/spring-integration-reference/src/transformer.xml index 4210cd3ec0..1ce7943fe7 100644 --- a/spring-integration-reference/src/transformer.xml +++ b/spring-integration-reference/src/transformer.xml @@ -65,12 +65,6 @@ be sent (effectively the same behavior as a Message Filter returning false). Otherwise, the return value will be sent as the payload of an outbound reply Message. - - - Using both the "ref" attribute and an inner handler definition in the same <transformer> - configuration is not allowed, as it creates an ambiguous condition and will result in an Exception being thrown. - - There are a also a few Transformer implementations available out of the box. Because, it is fairly common to use the toString() representation of an Object, Spring Integration provides an @@ -97,6 +91,14 @@ ]]> + + If you only need to add headers to a Message, and they are not dynamically determined by Message content, + then referencing a custom implementation may be overkill. For that reason, Spring Integration provides the + 'header-enricher' element. +
+
+ ]]> +