Message.setContentTypeFinal(String contentType) 方法

定义

Set the content type of this message. Used in message routing.

public final void setContentTypeFinal(String contentType)

参数

contentType
String

the content type of the message. May be null if you don't want to specify a content type.

返回

final void

适用于