Interface MessageConstructionInterceptor
-
- All Superinterfaces:
MessageDirectionAware,MessageTransformer,MessageTypeSelector
@Deprecated public interface MessageConstructionInterceptor extends MessageTransformer, MessageDirectionAware, MessageTypeSelector
Deprecated.since 3.0 in favor of usingMessageTransformerImplementing classes may intercept the message payload constructing mechanism in order to modify the message content.- Author:
- Christoph Deppisch
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.consol.citrus.message.MessageTransformer
MessageTransformer.Builder<T extends MessageTransformer,B extends MessageTransformer.Builder<T,B>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description MessageinterceptMessageConstruction(Message message, String messageType, TestContext context)Deprecated.Intercept the message construction.default Messagetransform(Message message, TestContext context)Deprecated.Transform message with given test context and return new message.-
Methods inherited from interface com.consol.citrus.message.MessageDirectionAware
getDirection
-
Methods inherited from interface com.consol.citrus.message.MessageTypeSelector
supportsMessageType
-
-
-
-
Method Detail
-
transform
default Message transform(Message message, TestContext context)
Deprecated.Description copied from interface:MessageTransformerTransform message with given test context and return new message.- Specified by:
transformin interfaceMessageTransformer- Parameters:
message- the message to process.context- the current test context.- Returns:
- the processed message.
-
interceptMessageConstruction
Message interceptMessageConstruction(Message message, String messageType, TestContext context)
Deprecated.Intercept the message construction.- Parameters:
message- the message to be modified.messageType- the message type.context- the current test context.
-
-