Package org.apache.synapse.debug.utils
Class InboundEndpointDebugUtil
- java.lang.Object
-
- org.apache.synapse.debug.utils.InboundEndpointDebugUtil
-
public class InboundEndpointDebugUtil extends Object
Utility class that handle persisting Inbound related breakpoint/skip information at mediator level as we maintain debug related information at mediator level
-
-
Constructor Summary
Constructors Constructor Description InboundEndpointDebugUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static StringlogMediatorPosition(SynapseMediationFlowPoint flowPoint)static voidregisterInboundSequenceMediationFlowBreakPoint(SynapseConfiguration synCfg, String sequenceType, String inboundKey, int[] position, boolean registerMode)Registers/Un-registers a breakpoint, point where mediation flow get suspendedstatic voidregisterInboundSequenceMediationFlowSkip(SynapseConfiguration synCfg, String seqType, String inboundKey, int[] position, boolean registerMode)Registers/Un-registers a skip, point where mediator disables from mediation flow
-
-
-
Method Detail
-
registerInboundSequenceMediationFlowBreakPoint
public static void registerInboundSequenceMediationFlowBreakPoint(SynapseConfiguration synCfg, String sequenceType, String inboundKey, int[] position, boolean registerMode)
Registers/Un-registers a breakpoint, point where mediation flow get suspended- Parameters:
synCfg- Synapse configurationsequenceType- Synapse sequence typeinboundKey- name of the Inbound Endpointposition- array of integers that uniquely specifies a point in mediation routeregisterMode- specify whether register or un register
-
registerInboundSequenceMediationFlowSkip
public static void registerInboundSequenceMediationFlowSkip(SynapseConfiguration synCfg, String seqType, String inboundKey, int[] position, boolean registerMode)
Registers/Un-registers a skip, point where mediator disables from mediation flow- Parameters:
synCfg- Synapse configurationseqType- Synapse sequence typeinboundKey- name of the Inbound Endpointposition- array of integers that uniquely specifies a point in mediation routeregisterMode- specify whether register or un register
-
logMediatorPosition
protected static String logMediatorPosition(SynapseMediationFlowPoint flowPoint)
-
-