<fileExchangeStore dir="[string]" raw="[false,true]" saveBodyOnly="[false,true]"/>
<beans>
<router exchangeStore="fileExchangeStore" />
<transport >
<ruleMatching />
<dispatching />
<userFeature />
<httpClient />
</transport>
<fileExchangeStore dir="temp" raw="false" saveBodyOnly="false" />
</beans>
Name | Required | Default | Description | Example |
---|---|---|---|---|
maxDays | false | -1 |
Number of days for which exchange logs are preserved. A value smaller than zero deactivates the deletion of old logs. | 60 |
saveBodyOnly | false | false |
If this is true, no headers will be written to the exchange log files. | true |
raw | false | false |
If this is true, headers will always be printed (overriding saveBodyOnly) and the body of the exchange won't be formatted nicely. | true |
dir | true | - | Directory where the exchanges are saved. | logs |