Package org.apache.synapse.debug.utils
Class ConnectorDebugUtil
- java.lang.Object
-
- org.apache.synapse.debug.utils.ConnectorDebugUtil
-
public class ConnectorDebugUtil extends Object
Utility class that handle persisting Connector related breakpoint/skip information at mediator level as we maintain debug related information at mediator level
-
-
Constructor Summary
Constructors Constructor Description ConnectorDebugUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static String
logMediatorPosition(SynapseMediationFlowPoint flowPoint)
static void
registerConnectorMediationFlowBreakPoint(SynapseConfiguration synCfg, String connectorKey, String connectorMethod, int[] position, boolean registerMode)
Registers/Un-registers a breakpoint, point where mediation flow get suspendedstatic void
registerConnectorMediationFlowSkip(SynapseConfiguration synCfg, String connectorKey, String connectorMethod, int[] position, boolean registerMode)
Registers/Un-registers a skip, point where mediator disables from mediation flow
-
-
-
Method Detail
-
registerConnectorMediationFlowBreakPoint
public static void registerConnectorMediationFlowBreakPoint(SynapseConfiguration synCfg, String connectorKey, String connectorMethod, int[] position, boolean registerMode)
Registers/Un-registers a breakpoint, point where mediation flow get suspended- Parameters:
synCfg
- Synapse configurationconnectorMethod
- method name of the templateconnectorKey
- name of the Connectorposition
- array of integers that uniquely specifies a point in mediation routeregisterMode
- specify whether register or un register
-
registerConnectorMediationFlowSkip
public static void registerConnectorMediationFlowSkip(SynapseConfiguration synCfg, String connectorKey, String connectorMethod, int[] position, boolean registerMode)
Registers/Un-registers a skip, point where mediator disables from mediation flow- Parameters:
synCfg
- Synapse configurationconnectorMethod
- method name of the templateconnectorKey
- name of the Connectorposition
- array of integers that uniquely specifies a point in mediation routeregisterMode
- specify whether register or un register
-
logMediatorPosition
protected static String logMediatorPosition(SynapseMediationFlowPoint flowPoint)
-
-