Interface MessageSelector
- All Superinterfaces:
GenericSelector<org.springframework.messaging.Message<?>>
- All Known Implementing Classes:
AbstractMessageProcessingSelector
,ExpressionEvaluatingSelector
,MessageSelectorChain
,MetadataStoreSelector
,MethodInvokingSelector
,PayloadTypeSelector
,UnexpiredMessageSelector
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface MessageSelector extends GenericSelector<org.springframework.messaging.Message<?>>
Strategy interface for message selection.
-
Method Summary
Modifier and Type Method Description boolean
accept(org.springframework.messaging.Message<?> message)
-
Method Details
-
accept
boolean accept(org.springframework.messaging.Message<?> message)- Specified by:
accept
in interfaceGenericSelector<org.springframework.messaging.Message<?>>
-