AdroitLogic UltraESB v1.7.0

org.adroitlogic.ultraesb.api.mediation
Interface ThrottleSupport


public interface ThrottleSupport

This interface defines the base for throttling implementations for the UltraESB. Implementations of this interface should implement the ThrottleSupport.isAllowed(org.adroitlogic.ultraesb.api.Message) method to provide the throttling functionality.

Since:
1.7.0

Method Summary
 boolean isAllowed(Message message)
          Implementer should implement the throttling logic within this.
 

Method Detail

isAllowed

boolean isAllowed(Message message)
Implementer should implement the throttling logic within this. If the throttle logic allows this message to proceed then it should return true or if the message fails to satisfy the throttle logic false should be returned.

Parameters:
message - the current message to be used for validation
Returns:
true if the throttle configuration allows the message to proceed further, false otherwise

Copyright (c) 2010-2012 AdroitLogic Private Ltd. All rights reserved.