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

      • ConnectorDebugUtil

        public ConnectorDebugUtil()
    • 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 configuration
        connectorMethod - method name of the template
        connectorKey - name of the Connector
        position - array of integers that uniquely specifies a point in mediation route
        registerMode - 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 configuration
        connectorMethod - method name of the template
        connectorKey - name of the Connector
        position - array of integers that uniquely specifies a point in mediation route
        registerMode - specify whether register or un register