THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
from("direct:start"). recipientList().xquery("concat('mock:foo.', /person/@city)", String.class); |
Variables
The IN message body will be set as the contextItem
. Besides this these Variables is also added as parameters:
Variable | Type | Description |
---|---|---|
exchange | Exchange | The current Exchange |
out | Message | The OUT message (if any) |
this | Object | Any exchange.properties and exchange.in.headers and any additional parameters set using |
Using XML configuration
If you prefer to configure your routes in your Spring XML file then you can use XPath expressions as follows
...