类 SimpleMessageConverter

  • 所有已实现的接口:
    MessageConverter
    直接已知子类:
    GenericMessageConverter

    public class SimpleMessageConverter
    extends Object
    implements MessageConverter
    A simple converter that simply unwraps the message payload as long as it matches the expected target class. Or reversely, simply wraps the payload in a message.

    Note that this converter ignores any content type information that may be present in message headers and should not be used if payload conversion is actually required.

    从以下版本开始:
    4.0
    作者:
    Rossen Stoyanchev