Show TOC

AuditLocate this document in the navigation structure

Auditing occurs at the message dispatch level that wraps the implemented endpoint. Each audit manager is called asynchronously with the results of the service call.

  • Preferences node: /businesslayer/com/sybase365/mobiliser/framework/service/audit
  • ConfigAdmin PID: com.sybase365.mobiliser.framework.service.audit
ConfigAdmin PID:
You can set these configuration options:
Key Default Description
disabled false Disables the complete auditing subsystem.
allowCoreThreadTimeOut true Defines the configuration of the internal executor service.
corePoolSize 3 Defines the configuration of the internal executor service.
keepAliveSeconds 60 Defines the configuration of the internal executor service.
maxPoolSize 2147483647 Defines the configuration of the internal executor service.
queueCapacity 0 Defines the configuration of the internal executor service.
Set your defaults to use a synchronous queue and an unlimited number of threads, such as queueCapacity=0 and maxPoolSize.  Alternatively, you can use a fixed number of threads and a large queue capacity so that tasks are placed on a queue, then processed by the fixed number of threads:
allowCoreThreadTimeOut=true 
corePoolSize=10  
keepAliveSeconds=60        
maxPoolSize=10 
queueCapacity=2147483647 
Note If you have a large queue, do not set the corePoolSize to 1; the executor service waits for the queue to fill before spawning new threads, the end result of which is concurrency. If the queue size is too small and no threads are available, the audit subsystem starts dropping audits.