Package org.apache.synapse.debug.utils
Class TemplateDebugUtil
- java.lang.Object
-
- org.apache.synapse.debug.utils.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 Summary
Constructors Constructor Description TemplateDebugUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static String
logMediatorPosition(SynapseMediationFlowPoint flowPoint)
static void
registerTemplateMediationFlowBreakPoint(SynapseConfiguration synCfg, String templateKey, int[] position, boolean registerMode)
Registers/Un-registers a breakpoint, point where mediation flow gets suspendedstatic void
registerTemplateMediationFlowSkip(SynapseConfiguration synCfg, String templateKey, int[] position, boolean registerMode)
Registers/Un-registers a skip, point where mediator disables from mediation flow
-
-
-
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 configurationtemplateKey
- name of the Templateposition
- array of integers that uniquely specifies a point in mediation routeregisterMode
- 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 configurationtemplateKey
- name of the Templateposition
- array of integers that uniquely specifies a point in mediation routeregisterMode
- specify whether register or un register
-
logMediatorPosition
protected static String logMediatorPosition(SynapseMediationFlowPoint flowPoint)
-
-