Interface MessagePayloadProcessor

    • Method Detail

      • process

        <T> void process​(MessagePayload payload,
                         MessagePayloadContext context,
                         Schema<T> schema,
                         java.util.function.Consumer<Message<T>> messageConsumer)
                  throws java.lang.Exception
        Process the message payload.
        Type Parameters:
        T -
        Parameters:
        payload - the payload whose underlying buffer is a Netty ByteBuf
        context - the message context that contains the message format information and methods to create a message
        schema - the message's schema
        messageConsumer - the callback to consume each message
        Throws:
        java.lang.Exception