fileExchangeStore
Description
Can be used in
spring:beans, bean
Syntax
<fileExchangeStore dir="[string]" raw="[false,true]" saveBodyOnly="[false,true]"/>
Listing 1: fileExchangeStore Syntax
Sample
<beans> <router exchangeStore="fileExchangeStore" /> <transport > <ruleMatching /> <dispatching /> <userFeature /> <httpClient /> </transport> <fileExchangeStore dir="temp" raw="false" saveBodyOnly="false"/> </beans>
Listing 2: fileExchangeStore Example
Attributes
Name | Required | Default | Description | Example |
---|---|---|---|---|
dir | true | - | Directory where the exchanges are saved. | logs |
maxDays | false | -1 | Number of days for which exchange logs are preserved. A value smaller than zero deactivates the deletion of old logs. | 60 |
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 |
saveBodyOnly | false | false | If this is true, no headers will be written to the exchange log files. | true |