Interface MessageHeader.Builder

    • Method Detail

      • name

        MessageHeader.Builder name​(String name)

        The name of the message header. The header name can contain up to 126 characters.

        Parameters:
        name - The name of the message header. The header name can contain up to 126 characters.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • value

        MessageHeader.Builder value​(String value)

        The value of the message header. The header value can contain up to 870 characters, including the length of any rendered attributes. For example if you add the {CreationDate} attribute, it renders as YYYY-MM-DDTHH:MM:SS.SSSZ and is 24 characters in length.

        Parameters:
        value - The value of the message header. The header value can contain up to 870 characters, including the length of any rendered attributes. For example if you add the {CreationDate} attribute, it renders as YYYY-MM-DDTHH:MM:SS.SSSZ and is 24 characters in length.
        Returns:
        Returns a reference to this object so that method calls can be chained together.