M - type of the input MessageEnvelopeOM - type of the transformed MessageEnvelopes@InterfaceStability.Unstable @FunctionalInterface public interface FlatMapFunction<M extends MessageEnvelope,OM extends MessageEnvelope>
MessageEnvelope into a collection of 0 or more MessageEnvelopes,
possibly of a different type.| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<OM> |
apply(M message)
Transforms the provided
MessageEnvelope into a collection of 0 or more MessageEnvelopes. |
java.util.Collection<OM> apply(M message)
MessageEnvelope into a collection of 0 or more MessageEnvelopes.message - the MessageEnvelope to be transformedMessageEnvelopes