Interface MessageDecorator

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

public interface MessageDecorator
The Message decoration contract. An implementation may decide to return any Message instance and even a different Message implementation. Usually used to wrap a message in another.
Artem Bilan
  • Method Summary

    Modifier and Type Method Description
    Message<?> decorateMessage​(Message<?> message)