The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

younss (2) [Avatar] Offline
#1
In the Listing bellow, the expression attribute is required in expression-transformer tag

Listing 4.11 Expression transformer returning a single element.
The output of the transformer present in 4.11, intended for the statistics system, is a string representing the host address. Notice that we used the bean evaluator and that the expression is a Jaxen XPath bean property name (similar to the standard JavaBean one, except for boolean fields).
Listing 4.12 Expression transformer returning an array.
131
<expression-transformer>
<return-argument >
expression="#[message.payload.hostAddress]" />
</expression-transformer>
David Dossot (233) [Avatar] Offline
#2
Re: Error in Listing 4.11 Expression transformer returning a single element.
Thank you. This text has been reviewed in the latest version: we have removed all references to the bean evaluator and Jaxen.