Class PayloadMatchingMessageSelector
- java.lang.Object
-
- com.consol.citrus.message.selector.AbstractMessageSelector
-
- com.consol.citrus.message.selector.PayloadMatchingMessageSelector
-
- All Implemented Interfaces:
com.consol.citrus.message.MessageSelector
public class PayloadMatchingMessageSelector 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
PayloadMatchingMessageSelector.Factory
Message selector factory for this implementation.
-
Field Summary
Fields Modifier and Type Field Description static String
SELECTOR_ID
Special selector identifying key for this message selector implementation-
Fields inherited from class com.consol.citrus.message.selector.AbstractMessageSelector
context, matchingValue, selectKey
-
-
Constructor Summary
Constructors Constructor Description PayloadMatchingMessageSelector(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_ID
public static final String SELECTOR_ID
Special selector identifying key for this message selector implementation- See Also:
- Constant Field Values
-
-