Interface EventTriggerPredicate.MessageConverter<T>

Type Parameters:
T - Type of event message
All Superinterfaces:
BiFunction<io.vertx.core.MultiMap,Object,T>
All Known Subinterfaces:
EventTriggerExtensionPredicate.MessageExtensionConverter<T>
All Known Implementing Classes:
AllowAnyMessageBodyType, AutoCastMessageBody
Enclosing interface:
EventTriggerPredicate<T>

public static interface EventTriggerPredicate.MessageConverter<T> extends BiFunction<io.vertx.core.MultiMap,Object,T>
The message converter
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(io.vertx.core.MultiMap headers, Object body)
    Convert the Message to desired event message

    Methods inherited from interface java.util.function.BiFunction

    andThen
  • Method Details

    • apply

      T apply(io.vertx.core.MultiMap headers, Object body)
      Convert the Message to desired event message
      Specified by:
      apply in interface BiFunction<io.vertx.core.MultiMap,Object,T>
      Parameters:
      headers - the message header
      body - the message body
      Returns:
      an event message