M - type of the input MessageEnvelopeOM - type of the transformed MessageEnvelope@InterfaceStability.Unstable @FunctionalInterface public interface MapFunction<M extends MessageEnvelope,OM extends MessageEnvelope>
MessageEnvelope into another MessageEnvelope, possibly of a different type.| Modifier and Type | Method and Description |
|---|---|
OM |
apply(M message)
Transforms the provided
MessageEnvelope into another MessageEnvelope |
OM apply(M message)
MessageEnvelope into another MessageEnvelopemessage - the MessageEnvelope to be transformedMessageEnvelope