5. Monitoring, Logging and Statistics

exchangeStore

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:

serviceProxy, api, stompProxy, swaggerProxy, if, registration, wsStompReassembler, interceptor, bean, internalProxy, transport and soapProxy

Syntax

<exchangeStore name="string" />

Sample

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

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

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

Attributes

NameRequiredDefaultDescriptionExample
name false - Bean name of the exchange store defined as a spring bean. forgetfulExchangeStore