クラス JsonOutboundMessageMapper
java.lang.ObjectSE
org.springframework.integration.support.json.JsonOutboundMessageMapper
- 実装済みのインターフェース一覧:
OutboundMessageMapper<StringSE>
OutboundMessageMapper 実装は、Message を JSON 文字列表現に変換します。 代わりに EmbeddedHeadersJsonMessageMapper の使用を検討してください。含まれるヘッダーを決定するための柔軟性が向上します。
- 導入:
- 2.0
- 作成者:
- Jeremy Grelle, Mark Fisher, Artem Bilan, Gary Russell
コンストラクター概要
コンストラクター方法の概要
修飾子と型メソッド説明@Nullable StringSEfromMessage(Message<?> message) voidsetShouldExtractPayload(boolean shouldExtractPayload)
コンストラクターの詳細
JsonOutboundMessageMapper
public JsonOutboundMessageMapper()JsonOutboundMessageMapper
方法の詳細
setShouldExtractPayload
public void setShouldExtractPayload(boolean shouldExtractPayload) fromMessage
- 次で指定:
- インターフェース
OutboundMessageMapper<StringSE>内のfromMessage