OM
- type of the transformed messagepublic interface InputTransformer<OM> extends InitableFunction, ClosableFunction, java.io.Serializable
IncomingMessageEnvelope
with deserialized key and message to a message of type OM
which is delivered to the MessageStream
. Called in InputOperatorImpl
when incoming messages
from a SystemConsumer
are being delivered to the application.
This is provided by default by transforming system descriptor implementations and can not be overridden or set on a per stream level.
Modifier and Type | Method and Description |
---|---|
OM |
apply(IncomingMessageEnvelope ime)
Transforms the provided
IncomingMessageEnvelope with deserialized key and message into another message
which is delivered to the MessageStream . |
init
close
OM apply(IncomingMessageEnvelope ime)
IncomingMessageEnvelope
with deserialized key and message into another message
which is delivered to the MessageStream
.ime
- the IncomingMessageEnvelope
to be transformed