Class 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 Detail

      • InboundEndpointDebugUtil

        public InboundEndpointDebugUtil()
    • 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 configuration
        sequenceType - Synapse sequence type
        inboundKey - name of the Inbound Endpoint
        position - array of integers that uniquely specifies a point in mediation route
        registerMode - 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 configuration
        seqType - Synapse sequence type
        inboundKey - name of the Inbound Endpoint
        position - array of integers that uniquely specifies a point in mediation route
        registerMode - specify whether register or un register