Interface ValueRetriever
- All Known Implementing Classes:
MetadataPropertyValueRetriever,PayloadPropertyValueRetriever
public interface ValueRetriever
Retrieves association value from the event message.
- Since:
- 5.4.0
- Author:
- Simon Zambrovski
-
Method Summary
Modifier and TypeMethodDescriptionapply(EventMessage eventMessage, ProcessingContext processingContext) Retrieves association value from the event message.path()Returns the source-specific path used in the serialized association form.Returns the qualifier used in the serialized association form.
-
Method Details
-
qualifier
String qualifier()Returns the qualifier used in the serialized association form.- Returns:
- qualifier, for example
payloadormetadata
-
path
String path()Returns the source-specific path used in the serialized association form.- Returns:
- source-specific path, such as a payload property or metadata key
-
apply
Retrieves association value from the event message.- Parameters:
eventMessage- event message to retrieve value fromprocessingContext- processing context for retrieving addition resources- Returns:
- retrieved value
-