Class HeaderMatchingMessageSelector
- java.lang.Object
-
- com.consol.citrus.message.selector.AbstractMessageSelector
-
- com.consol.citrus.message.selector.HeaderMatchingMessageSelector
-
- All Implemented Interfaces:
com.consol.citrus.message.MessageSelector
public class HeaderMatchingMessageSelector extends AbstractMessageSelector
Message selector matches one or more header elements with the message header. Only in case all matching header elements are present in message header and its value matches the expected value the message is accepted.- Author:
- Christoph Deppisch
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HeaderMatchingMessageSelector.Factory
Message selector factory for this implementation.
-
Field Summary
Fields Modifier and Type Field Description static String
SELECTOR_PREFIX
Special selector key prefix identifying this message selector implementation-
Fields inherited from class com.consol.citrus.message.selector.AbstractMessageSelector
context, matchingValue, selectKey
-
-
Constructor Summary
Constructors Constructor Description HeaderMatchingMessageSelector(String selectKey, String matchingValue, com.consol.citrus.context.TestContext context)
Default constructor using fields.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(com.consol.citrus.message.Message message)
-
Methods inherited from class com.consol.citrus.message.selector.AbstractMessageSelector
evaluate
-
-
-
-
Field Detail
-
SELECTOR_PREFIX
public static final String SELECTOR_PREFIX
Special selector key prefix identifying this message selector implementation- See Also:
- Constant Field Values
-
-