MessageHeaderAccessor.setHeader

Set the value for the given header name. <p>If the provided value is {@code null}, the header will be removed.

  1. void setHeader(string name, T value)
  2. void setHeader(string name, Object value)
    class MessageHeaderAccessor
    void
    setHeader
    (
    string name
    ,
    Object value
    )

Meta