statisticsJDBC
Description
Writes statistics (time, status code, hostname, URI, etc.) about exchanges passing through into a database (one row per exchange).
Can be used in
spring:beans, if, internalProxy, proxy, registration, request, response, serviceProxy, soapProxy, stompProxy, swaggerProxy, transport and wsStompReassembler
Syntax
<statisticsJDBC postMethodOnly="[false,true]" soapOnly="[false,true]" dataSource="string"/>
Listing 1: statisticsJDBC Syntax
Sample
<beans> <transport coreThreadPoolSize="20"> <ruleMatching /> <dispatching /> <userFeature /> <statisticsJDBC postMethodOnly="false" soapOnly="true" dataSource="dataSource"/> <httpClient /> </transport> </beans>
Listing 2: statisticsJDBC Example
Attributes
Name | Required | Default | Description | Example |
---|---|---|---|---|
createTable | false | true | toggle to try automatic table creation or disable table creation altogether | |
dataSource | true | - | The spring bean ID of a data source bean. | |
postMethodOnly | false | false | ||
soapOnly | false | false |