Interface HeaderMapper<T>
- Type Parameters:
T
- type of the instance to and from which headers will be mapped.
public interface HeaderMapper<T>
Generic strategy interface for mapping
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).-
Method Summary
Modifier and Type Method Description void
fromHeaders(org.springframework.messaging.MessageHeaders headers, T target)
java.util.Map<java.lang.String,java.lang.Object>
toHeaders(T source)