Class NoOpRawMessagingPreprocessor

    • Constructor Detail

      • NoOpRawMessagingPreprocessor

        public NoOpRawMessagingPreprocessor()
    • Method Detail

      • process

        public byte[] process​(byte[] rawMessage,
                              Optional<Map<String,​Serializable>> context)
        Specified by:
        process in class RawMessagingPreprocessor
        Parameters:
        rawMessage - the raw joynr message bytes
        context - you can optionally add String:Serializable pairs to this map, which will be made available to the message's recipient. The value must be serializable. The map is preinitialized.
        Returns:
        the processed rawMessage. NOTE: you are responsible for returning a message that can still be parsed by the messaging skeleton; otherwise the message will be discarded.