Interface MessageHeader.Builder

  • Method Details

    • 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

      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.