org.springframework.integration.message
Interface MessageMapper<P,O>

All Known Implementing Classes:
ByteArrayMailMessageMapper, DefaultMessageMapper, MailTarget.DefaultObjectMailMessageMapper, MessagingEventMapper, MethodArgumentMessageMapper, SimpleFileMessageMapper, TextMailMessageMapper

public interface MessageMapper<P,O>

Strategy interface for mapping from a Message to an Object.

Author:
Mark Fisher

Method Summary
 O mapMessage(Message<P> message)
          Map from the given Message to an Object.
 

Method Detail

mapMessage

O mapMessage(Message<P> message)
Map from the given Message to an Object.