Class TemplateDebugUtil


  • public class TemplateDebugUtil
    extends Object
    Utility class that handle persisting Template related breakpoint/skip information at mediator level as we maintain debug related information at mediator level
    • Constructor Detail

      • TemplateDebugUtil

        public TemplateDebugUtil()
    • Method Detail

      • registerTemplateMediationFlowBreakPoint

        public static void registerTemplateMediationFlowBreakPoint​(SynapseConfiguration synCfg,
                                                                   String templateKey,
                                                                   int[] position,
                                                                   boolean registerMode)
        Registers/Un-registers a breakpoint, point where mediation flow gets suspended
        Parameters:
        synCfg - Synapse configuration
        templateKey - name of the Template
        position - array of integers that uniquely specifies a point in mediation route
        registerMode - specify whether register or un register
      • registerTemplateMediationFlowSkip

        public static void registerTemplateMediationFlowSkip​(SynapseConfiguration synCfg,
                                                             String templateKey,
                                                             int[] position,
                                                             boolean registerMode)
        Registers/Un-registers a skip, point where mediator disables from mediation flow
        Parameters:
        synCfg - Synapse configuration
        templateKey - name of the Template
        position - array of integers that uniquely specifies a point in mediation route
        registerMode - specify whether register or un register