P - The type of the translated message's payload@FunctionalInterface
public interface MessageTranslator<P>
The Message Translator is the messaging equivalent of the Adapter pattern described in [GoF]. An adapter converts the interface of a component into a another interface so it can be used in a different context.
| Modifier and Type | Method and Description |
|---|---|
Message<P> |
translate(Message<?> message)
Translates a Message into a Message with payload-type <P>
|