org.jboss.soa.esb.actions.cbr
Interface RoutingRule


public interface RoutingRule

Routing Rule.

Author:
tom.fennelly@jboss.com

Method Summary
 boolean evaluate(java.lang.Object objectToTest)
          Evaluate the rule for the supplied Object.
 

Method Detail

evaluate

boolean evaluate(java.lang.Object objectToTest)
                 throws MessageRouterException
Evaluate the rule for the supplied Object.

Parameters:
objectToTest - The object to test.
Returns:
True if the object "matches" the rule, otherwise false.
Throws:
MessageRouterException - Error evaluating the rule against the object.