public class JsonMappingDataDictionary extends AbstractJsonDataDictionary
DataDictionary.PathMappingStrategy
mappingFile, mappings
Constructor and Description |
---|
JsonMappingDataDictionary() |
Modifier and Type | Method and Description |
---|---|
protected Message |
interceptMessage(Message message,
String messageType,
TestContext context)
Intercept the message construction.
|
<T> T |
translate(String jsonPath,
T value,
TestContext context)
Translate value with given path in message content.
|
supportsMessageType
afterPropertiesSet, convertIfNecessary, getMappingFile, getMappings, getName, getPathMappingStrategy, isGlobalScope, setGlobalScope, setMappingFile, setMappings, setName, setPathMappingStrategy
interceptMessageConstruction
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
interceptMessageConstruction
protected Message interceptMessage(Message message, String messageType, TestContext context)
AbstractMessageConstructionInterceptor
interceptMessage
in class AbstractMessageConstructionInterceptor
message
- the payloadcontext
- the current test contextpublic <T> T translate(String jsonPath, T value, TestContext context)
DataDictionary
jsonPath
- the key element in message contentvalue
- current valuecontext
- the current test contextCopyright © 2008–2017 ConSol Software GmbH. All rights reserved.