4. Monitoring, Logging and Statistics

exchangeStore

Version
Adds the current state of HTTP requests and responses to an "exchange store".

Explanation:

Note that depending on the implementation of the exchange store, both request *and* response logging might both be required for the exchange to be saved.

Can be used in

Syntax

<exchangeStore name="string" />
<exchangeStore name="string" />

Sample

<beans>
<transport coreThreadPoolSize=&quot;20&quot;>
<ruleMatching />
<dispatching />
<userFeature />

<exchangeStore name=&quot;forgetfulExchangeStore&quot; />

<httpClient />
</transport>
</beans>
<beans>
  <transport coreThreadPoolSize=&quot;20&quot;>
	<ruleMatching />
	<dispatching />
	<userFeature />

	<exchangeStore name=&quot;forgetfulExchangeStore&quot; />

	<httpClient />
  </transport>
</beans>

Attributes

NameRequiredDefaultDescriptionExamples
namefalse-Bean name of the exchange store defined as a spring bean.forgetfulExchangeStore