Interface Mediator

    • Method Detail

      • serialize

        org.apache.axiom.om.OMElement serialize​(org.apache.axiom.om.OMElement parent)
        Serialize this mediator in to the corresponding Synapse mediator configuration.
        Parameters:
        parent - if present the serialize node will be added to the parent
        Returns:
        the Synapse mediator configuration XML
      • build

        void build​(org.apache.axiom.om.OMElement elem)
        Populate this mediator from the Synapse mediator configuration.
        Parameters:
        elem - synapse mediator configuration
      • getTraceState

        int getTraceState()
        Get the tracing state
        Returns:
        tracing state
      • setTraceState

        void setTraceState​(int traceState)
        Set the tracing state
        Parameters:
        traceState - trace state to set
      • isAuditConfigurable

        boolean isAuditConfigurable()
        Is this mediator audit configurable. Synapse mediators which implements the AuditConfigurable should return true.
        Returns:
        true if the mediator is audit configurable.
      • getTagLocalName

        String getTagLocalName()
        Get the name of the mediator
        Returns:
        name of the mediator
      • isStatisticsEnable

        boolean isStatisticsEnable()
        Whether statistics has been enabled
        Returns:
        True if enable , o.w , false
      • disableStatistics

        void disableStatistics()
        Disable statistics for mediator
      • enableStatistics

        void enableStatistics()
        Enable statistics for the mediator