M - type of the input MessageEnvelopeJM - 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>
MessageEnvelopes from two MessageStreams and produces
a joined MessageEnvelope.| Modifier and Type | Method and Description |
|---|---|
RM |
apply(M message,
JM otherMessage)
Join the provided
MessageEnvelopes and produces the joined MessageEnvelope. |
RM apply(M message, JM otherMessage)
MessageEnvelopes and produces the joined MessageEnvelope.message - the input MessageEnvelopeotherMessage - the MessageEnvelope to join withMessageEnvelope