MessageType
- the message type of the message context on which to operateT
- the type of product of the componentpublic interface MessageContextEvaluatingFunctor<MessageType,T>
MessageContext
as the basis for extracting,
calculating, or otherwise producing a specific data value.
Implementations should not have side effects and should not modify any data in the
underlying message context. For a component that is intended to allow message context
modification, see MessageContextMutatingFunctor
.
Modifier and Type | Method and Description |
---|---|
T |
evaluate(MessageContext<MessageType> msgContext)
Using the specified MessageContext as the evaluation context,
produce a data value product of the appropriate type.
|
T evaluate(MessageContext<MessageType> msgContext) throws MessageException
msgContext
- the message context to evaluateMessageException
- if there is a fatal error evaluating the contextCopyright © 2017. All rights reserved.