T - type of the instance to and from which headers will be mapped.public interface HeaderMapper<T>
MessageHeaders to and from other
 types of objects. This would typically be used by adapters where the "other type"
 has a concept of headers or properties (HTTP, JMS, AMQP, etc).| Modifier and Type | Method and Description | 
|---|---|
void | 
fromHeaders(MessageHeaders headers,
           T target)  | 
Map<String,Object> | 
toHeaders(T source)  |