outgoingMessage.setHeader(name, value)


设置单个头部值。如果要发送的头部中已存在该头部,其值将被替换。使用字符串数组可以发送具有相同名称的多个头部。

【Sets a single header value. If the header already exists in the to-be-sent headers, its value will be replaced. Use an array of strings to send multiple headers with the same name.】