Configuring Mediator Service Engine Properties

28-18 Developers Guide for Oracle Application Integration Architecture Foundation Pack

28.5.1 Configuring Mediator Service Engine Properties

You can configure the properties of Mediator Service Engine by setting the parameters mentioned in this section. These parameters can be set by setting the values of the parameters in the Mediator Service Engine Properties page. These properties must be configured: auditLevel This property sets the audit trail logging level. This property controls the amount of audit events that are logged by a process. AIA recommends the following value to be set to this property. ■ Production: All events are logged. All audit details, except the details of assign activities, are logged. Instance tracking information is collected, but payload details are not captured and these details are not available in the flow audit trails. This level is optimal for most typical operations and testing. metricsLevel Administrator can set the Mediator-specific flag metricsLevel for configuring the Dynamic Monitoring Service DMS metrics level. DMS metrics are used to measure the performance of application components. The possible values of this flag are: ■ Enabled - Enables DMS metrics tracking ■ Disabled - Disables DMS metrics tracking AIA recommends disabling the DMS metrics tracking in production. Consider turning this on when there is a need for tracking DMS metrics. DeferredWorkerThreadCount Specifies the number of deferred dispatchers for processing messages in parallel. For higher loads consider increasing this parameter to have more outbound threads for deferred processing as each parallel rule is processed by one of the DeferredWorkerThreads. Default value is 4 threads. AIA recommends changing the value to a higher number only when there are a significant number of mediator services having parallel routing rules. DeferredMaxRowsRetrieved When the Mediator routing rule type is set to Parallel, DeferredMaxRowsRetrieved sets the number of maximum rows maximum number of messages for parallel routing rule processing that are retrieved from Mediator store table that stores messages for parallel routing rule for processing. Note that each message retrieved in this batch is processed by one worker thread at a time. The default value is 20 threads. AIA recommends altering the value only when there are a significant number of mediator services having parallel routing rules. DeferredLockerThreadSleep For processing parallel routing rules, Oracle Mediator has a daemon locker thread that retrieves and locks messages from Mediator store database. The thread polls the database to retrieve messages for parallel processing. When no messages are available, the locker thread sleeps for the amount of time specified in the DeferredLockerThreadSleep and prevents round trips to database. Tuning Integration Flows 28-19 Default value is 2 seconds. Consider increasing the value to a higher number, say 120 seconds, for integrations having no mediator components with parallel routing rules. During the specified time, no messages are available for parallel routing in either of the following cases: ■ There are no Mediator components with parallel routing rules deployed. ■ Mediator components with parallel routing rule is deployed, but there are no continuous incoming messages for such components. SyncMaxWaitTime The maximum time a request and response operation takes before timing out. Default value is 45 seconds.

28.5.2 How to Monitor the Mediator Service Engine