public class MessageConvertingTcpMessageMapper extends TcpMessageMapper
logger
Constructor and Description |
---|
MessageConvertingTcpMessageMapper(MessageConverter messageConverter) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
fromMessage(Message<?> message) |
Message<java.lang.Object> |
toMessage(TcpConnection connection) |
addCustomHeaders, addStandardHeaders, setApplySequence, setCharset, setStringToBytes, supplyCustomHeaders
public MessageConvertingTcpMessageMapper(MessageConverter messageConverter)
public Message<java.lang.Object> toMessage(TcpConnection connection) throws java.lang.Exception
toMessage
in interface InboundMessageMapper<TcpConnection>
toMessage
in class TcpMessageMapper
java.lang.Exception
public java.lang.Object fromMessage(Message<?> message) throws java.lang.Exception
fromMessage
in interface OutboundMessageMapper<java.lang.Object>
fromMessage
in class TcpMessageMapper
java.lang.Exception