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
Methods inherited from interface java.util.function.BiFunction
andThen
-
Method Details
-
apply
Convert theMessageto desired event message- Specified by:
applyin interfaceBiFunction<io.vertx.core.MultiMap,Object, T> - Parameters:
headers- the message headerbody- the message body- Returns:
- an event message
-