Interface MessageDecorator

  • All Known Implementing Classes:
    MessageDecorator.Same

    public interface MessageDecorator
    This role should be injected into a message to decorated it at the moment of sending. This technique is experimental and represents the function of a Decorator Pattern in a message-oriented design.
    Author:
    Fabrizio Giudici
    Stereotype:
    Role
    • Field Detail

      • _MessageDecorator_

        static final java.lang.Class<MessageDecorator> _MessageDecorator_
    • Method Detail

      • getDecoratedMessage

        @Nonnull
        MessageSupport getDecoratedMessage()
        Returns the decorated message.
        Returns:
        the decorated message