Package org.citrusframework.variable
Class MessageHeaderVariableExtractor
java.lang.Object
org.citrusframework.variable.MessageHeaderVariableExtractor
- All Implemented Interfaces:
MessageProcessor,MessageTransformer,VariableExtractor
Variable extractor reading message headers and saves them to new test variables.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classFluent builder. -
Field Summary
Fields inherited from interface org.citrusframework.variable.VariableExtractor
logger, RESOURCE_PATH, TYPE_RESOLVER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidextractVariables(Message message, TestContext context) Reads header information and saves new test variables.Gets the headerMappings.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.citrusframework.message.MessageProcessor
transformMethods inherited from interface org.citrusframework.variable.VariableExtractor
process
-
Constructor Details
-
MessageHeaderVariableExtractor
public MessageHeaderVariableExtractor()
-
-
Method Details
-
extractVariables
Reads header information and saves new test variables.- Specified by:
extractVariablesin interfaceVariableExtractor
-
getHeaderMappings
Gets the headerMappings.- Returns:
- the headerMappings
-