Spring Integration

org.springframework.integration.support.converter
Class SimpleMessageConverter

java.lang.Object
  extended by org.springframework.integration.support.converter.SimpleMessageConverter
All Implemented Interfaces:
MessageConverter

public class SimpleMessageConverter
extends java.lang.Object
implements MessageConverter

Since:
2.0
Author:
Mark Fisher

Constructor Summary
SimpleMessageConverter()
           
SimpleMessageConverter(InboundMessageMapper<?> inboundMessageMapper)
           
SimpleMessageConverter(InboundMessageMapper<?> inboundMessageMapper, OutboundMessageMapper<?> outboundMessageMapper)
           
SimpleMessageConverter(OutboundMessageMapper<?> outboundMessageMapper)
           
 
Method Summary
<P> java.lang.Object
fromMessage(Message<P> message)
           
 void setInboundMessageMapper(InboundMessageMapper<?> inboundMessageMapper)
           
 void setOutboundMessageMapper(OutboundMessageMapper<?> outboundMessageMapper)
           
<P> Message<P>
toMessage(java.lang.Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleMessageConverter

public SimpleMessageConverter()

SimpleMessageConverter

public SimpleMessageConverter(InboundMessageMapper<?> inboundMessageMapper)

SimpleMessageConverter

public SimpleMessageConverter(OutboundMessageMapper<?> outboundMessageMapper)

SimpleMessageConverter

public SimpleMessageConverter(InboundMessageMapper<?> inboundMessageMapper,
                              OutboundMessageMapper<?> outboundMessageMapper)
Method Detail

setInboundMessageMapper

public void setInboundMessageMapper(InboundMessageMapper<?> inboundMessageMapper)

setOutboundMessageMapper

public void setOutboundMessageMapper(OutboundMessageMapper<?> outboundMessageMapper)

toMessage

public <P> Message<P> toMessage(java.lang.Object object)
Specified by:
toMessage in interface MessageConverter

fromMessage

public <P> java.lang.Object fromMessage(Message<P> message)
Specified by:
fromMessage in interface MessageConverter

Spring Integration