Service Activity Monitoring Policy - 7.1

Talend ESB Infrastructure Services Configuration Guide

Version
7.1
Language
English (United States)
Product
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
Module
Talend ESB
Talend Runtime
Content
Design and Development
Installation and Upgrade

About this task

From Talend ESB, you can enable the Service Activity Monitoring feature via a custom policy that the user can maintain and assign to a service via the Service Registry.

Procedure

  1. Make sure the Talend Runtime is running, and the Service Registry service has been started. For more information, see the Talend ESB Container Administration Guide.
  2. Import the Service Activity Monitoring policy to use, either directly from the Talend Runtime. For more information, see Using the Service Registry with Talend ESB or via the Talend Administration Center, for more information, see the Talend Administration Center User Guide.
    Talend ESB provides a default Service Activity Monitoring policy called wspolicy_sam.policy in its /add-ons/registry/policies folder. This policy is by default applicable for consumer, but you can modify it according to your need.
    <wsp:Policy Name="wspolicy_sam" 
                xmlns:wsp="http://www.w3.org/ns/ws-policy">
        <wsp:ExactlyOne>
            <wsp:All>
                <tpa:ServiceActivityMonitoring 
                    xmlns:tpa="http://types.talend.com/policy/assertion/1.0" 
                    appliesTo="consumer" />
            </wsp:All>
        </wsp:ExactlyOne>
    </wsp:Policy>
    Where appliesTo can be consumer, provider, or always (both consumer and provider).
    This parameter is restricted to events that can be monitored by the Service Activity Monitoring.
  3. Assign the policy to the service for which you want to activate the Service Activity Monitoring.