Package org.citrusframework.message
Interface MessageTransformer
- All Known Subinterfaces:
DataDictionary<T>,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.
Transformer is able to completely change a given message.
- Author:
- Christoph Deppisch
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceMessageTransformer.Builder<T extends MessageTransformer,B extends MessageTransformer.Builder<T, B>> Fluent builder -
Method Summary
Modifier and TypeMethodDescriptiontransform(Message message, TestContext context) Transform message with given test context and return new message.
-
Method Details
-
transform
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.
-