Interface Message<HEADER,​BODY>

    • Method Detail

      • getHeader

        HEADER getHeader()
        Retrieves the value from the header property. The header describes the Message.
        Specified by:
        getHeader in interface HeaderAccessor<HEADER>
        Returns:
        The header stored by the header property.
      • getBody

        BODY getBody()
        Retrieves the value from the body property. Retrieves the payload carried by the Message.
        Specified by:
        getBody in interface BodyAccessor<HEADER>
        Returns:
        The according payload.