fileExchangeStore


Can be used in:

bean

Syntax

<fileExchangeStore dir="[string]" raw="[false,true]" saveBodyOnly="[false,true]"/>

Sample

<beans>
<router exchangeStore="fileExchangeStore" />
  <transport >
    <ruleMatching />
    <dispatching />
    <userFeature />
    <httpClient />
  </transport>
  <fileExchangeStore dir="temp" raw="false" saveBodyOnly="false" />
</beans>

Attributes

NameRequiredDefaultDescriptionExample
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