org.springframework.binding.message
Interface MessageCriteria


public interface MessageCriteria

A predicate used to select mapping result objects in a call to MessageContext.getMessagesByCriteria(MessageCriteria).

Author:
Keith Donald

Method Summary
 boolean test(Message message)
          Tests if the message meets this criteria.
 

Method Detail

test

boolean test(Message message)
Tests if the message meets this criteria.

Parameters:
message - the message
Returns:
true if this criteria is met for the message, false if not