Interface Connector

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void connect​(org.apache.synapse.MessageContext messageContext)
      implements the connection logic to external API or custom service pattern
      • Methods inherited from interface org.apache.synapse.Mediator

        getMediatorName, getMediatorPosition, getShortDescription, getTraceState, getType, isContentAltering, isContentAware, mediate, reportCloseStatistics, reportOpenStatistics, setComponentStatisticsId, setMediatorPosition, setShortDescription, setTraceState
      • Methods inherited from interface org.apache.synapse.SynapseArtifact

        getDescription, setDescription
    • Method Detail

      • connect

        void connect​(org.apache.synapse.MessageContext messageContext)
              throws ConnectException
        implements the connection logic to external API or custom service pattern
        Throws:
        ConnectException - when error during conenction to APIs or unexpected errors