statisticsCSV
Description
Writes statistics (time, status code, hostname, URI, etc.) about exchanges passing through into a CSV file (one line per exchange).
Can be used in
spring:beans, if, internalProxy, proxy, registration, request, response, serviceProxy, soapProxy, stompProxy, swaggerProxy, transport and wsStompReassembler
Syntax
<statisticsCSV file="path" />
Listing 1: statisticsCSV Syntax
Sample
<beans> <transport coreThreadPoolSize="20"> <ruleMatching /> <dispatching /> <userFeature /> <statisticsCSV file="c:/temp/stat.csv" /> <httpClient /> </transport> </beans>
Listing 2: statisticsCSV Example
Attributes
Name | Required | Default | Description | Example |
---|---|---|---|---|
file | true | - | Locations of csv file to write out logs. | stat.csv |