Class JsonPathMessageProcessor
java.lang.Object
org.citrusframework.message.AbstractMessageProcessor
org.citrusframework.validation.json.JsonPathMessageProcessor
- All Implemented Interfaces:
MessageDirectionAware,MessageProcessor,MessageTransformer,MessageTypeSelector
- Since:
- 2.3
- Author:
- Christoph Deppisch
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classFluent builder. -
Field Summary
Fields inherited from interface org.citrusframework.message.MessageProcessor
RESOURCE_PATH, TYPE_RESOLVER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the ignoreNotFound.voidprocessMessage(Message message, TestContext context) Intercept the message payload construction and replace elements identified via Json path expressions.booleansupportsMessageType(String messageType) Methods inherited from class org.citrusframework.message.AbstractMessageProcessor
getDirection, getName, process, setDirectionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.citrusframework.message.MessageProcessor
transform
-
Constructor Details
-
JsonPathMessageProcessor
public JsonPathMessageProcessor()Default constructor.
-
-
Method Details
-
processMessage
Intercept the message payload construction and replace elements identified via Json path expressions.- Overrides:
processMessagein classAbstractMessageProcessor
-
supportsMessageType
- Specified by:
supportsMessageTypein interfaceMessageTypeSelector- Overrides:
supportsMessageTypein classAbstractMessageProcessor
-
getJsonPathExpressions
-
isIgnoreNotFound
public boolean isIgnoreNotFound()Gets the ignoreNotFound.- Returns:
-