public class XmlFormattingMessageInterceptor extends AbstractMessageConstructionInterceptor
Constructor and Description |
---|
XmlFormattingMessageInterceptor() |
Modifier and Type | Method and Description |
---|---|
Message |
interceptMessage(Message message,
String messageType,
TestContext context)
Intercept the message construction.
|
boolean |
supportsMessageType(String messageType)
Checks if this message interceptor is capable of this message type.
|
getName, interceptMessageConstruction
public Message interceptMessage(Message message, String messageType, TestContext context)
AbstractMessageConstructionInterceptor
interceptMessage
in class AbstractMessageConstructionInterceptor
message
- the payloadcontext
- the current test contextpublic boolean supportsMessageType(String messageType)
MessageConstructionInterceptor
messageType
- the message type representation as String (e.g. xml, json, csv, plaintext).Copyright © 2008–2017 ConSol Software GmbH. All rights reserved.