Package com.consol.citrus.message
Interface MessageTransformer
-
- All Known Subinterfaces:
DataDictionary<T>,MessageConstructionInterceptor,MessageProcessor,ValidationProcessor,VariableExtractor
- All Known Implementing Classes:
AbstractMessageProcessor
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface MessageTransformer
Transformer is able to completely change a given message.- Author:
- Christoph Deppisch
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceMessageTransformer.Builder<T extends MessageTransformer,B extends MessageTransformer.Builder<T,B>>Fluent builder
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Messagetransform(Message message, TestContext context)Transform message with given test context and return new message.
-
-
-
Method Detail
-
transform
Message transform(Message message, TestContext context)
Transform message with given test context and return new message.- Parameters:
message- the message to process.context- the current test context.- Returns:
- the processed message.
-
-