THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Using log DSL from Spring
...
In Spring DSL its also easy to use log DSL as shown below:
Code Block | ||||
---|---|---|---|---|
| ||||
<route id="foo">
<from uri="direct:foo"/>
<log message="Got ${body}"/>
<to uri="mock:foo"/>
</route>
|
The log tag has attributes to set the message
, loggingLevel
and logName
. For example:
Code Block |
---|
<route id="baz">
<from uri="direct:baz"/>
<log message="Me Got ${body}" loggingLevel="FATAL" logName="cool"/>
<to uri="mock:baz"/>
</route>
|
See Also
TODO: