public class SimpleMessageConverter extends java.lang.Object implements MessageConverter
Constructor and Description |
---|
SimpleMessageConverter() |
SimpleMessageConverter(InboundMessageMapper<?> inboundMessageMapper) |
SimpleMessageConverter(InboundMessageMapper<?> inboundMessageMapper,
OutboundMessageMapper<?> outboundMessageMapper) |
SimpleMessageConverter(OutboundMessageMapper<?> outboundMessageMapper) |
Modifier and Type | Method and Description |
---|---|
<P> java.lang.Object |
fromMessage(Message<P> message) |
void |
setInboundMessageMapper(InboundMessageMapper<?> inboundMessageMapper) |
void |
setOutboundMessageMapper(OutboundMessageMapper<?> outboundMessageMapper) |
<P> Message<P> |
toMessage(java.lang.Object object) |
public SimpleMessageConverter()
public SimpleMessageConverter(InboundMessageMapper<?> inboundMessageMapper)
public SimpleMessageConverter(OutboundMessageMapper<?> outboundMessageMapper)
public SimpleMessageConverter(InboundMessageMapper<?> inboundMessageMapper, OutboundMessageMapper<?> outboundMessageMapper)
public void setInboundMessageMapper(InboundMessageMapper<?> inboundMessageMapper)
public void setOutboundMessageMapper(OutboundMessageMapper<?> outboundMessageMapper)
public <P> Message<P> toMessage(java.lang.Object object)
toMessage
in interface MessageConverter
public <P> java.lang.Object fromMessage(Message<P> message)
fromMessage
in interface MessageConverter