M
- type of the input MessageEnvelope
JM
- type of the MessageEnvelope
to join withRM
- type of the joined MessageEnvelope
@InterfaceStability.Unstable @FunctionalInterface public interface JoinFunction<M extends MessageEnvelope,JM extends MessageEnvelope,RM extends MessageEnvelope>
MessageEnvelope
s from two MessageStream
s and produces
a joined MessageEnvelope
.Modifier and Type | Method and Description |
---|---|
RM |
apply(M message,
JM otherMessage)
Join the provided
MessageEnvelope s and produces the joined MessageEnvelope . |
RM apply(M message, JM otherMessage)
MessageEnvelope
s and produces the joined MessageEnvelope
.message
- the input MessageEnvelope
otherMessage
- the MessageEnvelope
to join withMessageEnvelope