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 Type
    Method
    Description
    apply(EventMessage eventMessage, ProcessingContext processingContext)
    Retrieves association value from the event message.
    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 payload or metadata
    • 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

      Object apply(EventMessage eventMessage, ProcessingContext processingContext)
      Retrieves association value from the event message.
      Parameters:
      eventMessage - event message to retrieve value from
      processingContext - processing context for retrieving addition resources
      Returns:
      retrieved value