4. Monitoring, Logging and Statistics

statisticsCSV

Version

Writes statistics (time, status code, hostname, URI, etc.) about exchanges passing through into a CSV file (one line per exchange).

Explanation:

Note that the CSV file is UTF-8 encoded.

Syntax

statisticsCSV:
file: <string> # required
statisticsCSV:
  file: <string> # required

Sample

<beans>
<transport coreThreadPoolSize="20">
<ruleMatching />
<dispatching />
<userFeature />

<statisticsCSV file="c:/temp/stat.csv" />

<httpClient />
</transport>
</beans>
<beans>
  <transport coreThreadPoolSize="20">
	<ruleMatching />
	<dispatching />
	<userFeature />

	<statisticsCSV file="c:/temp/stat.csv" />

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

Attributes

NameRequiredDefaultDescriptionExamples
filetrue-Locations of csv file to write out logs.stat.csv

Can be used in