Interface EventPayloadExtractor

All Known Implementing Classes:
BeanIntrospectionEventPayloadExtractor

public interface EventPayloadExtractor
  • Method Summary

    Modifier and Type
    Method
    Description
    extractPayload(E event)
    Extracts the paylaod for the event.
  • Method Details

    • extractPayload

      <E> Map<String,Object> extractPayload(E event)
      Extracts the paylaod for the event. The payload always contains keys eventType and timestamp
      Type Parameters:
      E - the type of the event
      Parameters:
      event - the event object
      Returns:
      payload map which always contains the keys eventType and timestamp