org.springframework.integration.message
Class DefaultMessageMapper

java.lang.Object
  extended by org.springframework.integration.message.DefaultMessageMapper
All Implemented Interfaces:
MessageMapper

public class DefaultMessageMapper
extends java.lang.Object
implements MessageMapper

A simple implementation of MessageMapper that returns the Message's payload.

Author:
Mark Fisher

Constructor Summary
DefaultMessageMapper()
           
 
Method Summary
 java.lang.Object mapMessage(Message message)
          Map from the given Message to an Object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultMessageMapper

public DefaultMessageMapper()
Method Detail

mapMessage

public java.lang.Object mapMessage(Message message)
Description copied from interface: MessageMapper
Map from the given Message to an Object.

Specified by:
mapMessage in interface MessageMapper