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