public class CompositeMessageCondition extends Object implements MessageCondition<CompositeMessageCondition>
MessageCondition that delegates to other message conditions.
 For combine(org.springframework.messaging.handler.CompositeMessageCondition) and compareTo(org.springframework.messaging.handler.CompositeMessageCondition, org.springframework.messaging.Message<?>) it is expected that the "other"
 composite contains the same number, type, and order of message conditions.
| Constructor and Description | 
|---|
| CompositeMessageCondition(MessageCondition<?>... messageConditions) | 
| Modifier and Type | Method and Description | 
|---|---|
| CompositeMessageCondition | combine(CompositeMessageCondition other)Define the rules for combining this condition with another. | 
| int | compareTo(CompositeMessageCondition other,
         Message<?> message)Compare this condition to another in the context of a specific message. | 
| boolean | equals(Object other) | 
| <T extends MessageCondition<T>> | getCondition(Class<T> messageConditionType) | 
| CompositeMessageCondition | getMatchingCondition(Message<?> message)Check if this condition matches the given Message and returns a
 potentially new condition with content tailored to the current message. | 
| List<MessageCondition<?>> | getMessageConditions() | 
| int | hashCode() | 
| String | toString() | 
public CompositeMessageCondition(MessageCondition<?>... messageConditions)
public List<MessageCondition<?>> getMessageConditions()
public <T extends MessageCondition<T>> T getCondition(Class<T> messageConditionType)
public CompositeMessageCondition combine(CompositeMessageCondition other)
MessageConditioncombine in interface MessageCondition<CompositeMessageCondition>other - the condition to combine withpublic CompositeMessageCondition getMatchingCondition(Message<?> message)
MessageConditiongetMatchingCondition in interface MessageCondition<CompositeMessageCondition>null if there is no match.public int compareTo(CompositeMessageCondition other, Message<?> message)
MessageConditionMessageCondition.getMatchingCondition(Message) to ensure they have content
 relevant to current message only.compareTo in interface MessageCondition<CompositeMessageCondition>