Interface MessageSelectorFactory<T extends org.springframework.integration.core.MessageSelector>
-
- All Known Implementing Classes:
HeaderMatchingMessageSelector.Factory,JsonPathPayloadMessageSelector.Factory,PayloadMatchingMessageSelector.Factory,RootQNameMessageSelector.Factory,XpathPayloadMessageSelector.Factory
public interface MessageSelectorFactory<T extends org.springframework.integration.core.MessageSelector>- Since:
- 2.7
- Author:
- Christoph Deppisch
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tcreate(String key, String value, TestContext context)Create new message selector for given predicates.booleansupports(String key)Check if this factories is able to create a message selector for given key.
-
-
-
Method Detail
-
supports
boolean supports(String key)
Check if this factories is able to create a message selector for given key.- Parameters:
key-- Returns:
-
create
T create(String key, String value, TestContext context)
Create new message selector for given predicates.- Parameters:
key-value-context-- Returns:
-
-