Class ConcurrencyThrottlingUtils


  • public class ConcurrencyThrottlingUtils
    extends Object
    Utility class with related Synapse concurrency throttling.
    • Constructor Detail

      • ConcurrencyThrottlingUtils

        public ConcurrencyThrottlingUtils()
    • Method Detail

      • decrementConcurrencyThrottleAccessController

        public static void decrementConcurrencyThrottleAccessController​(MessageContext synCtx)
        Decrement the internal counter for concurrency throttling, in case of normal response retrieval, delayed response at synapse timeout, exceptional cases while mediation end up trigger fault. In clustered environment, replicate the decremented value to other members.
        Parameters:
        synCtx - Synapse Message Context of which mediation occurs.