T- type of the instance to and from which headers will be mapped
public interface HeaderMapper<T>
MessageHeadersto 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|
Map from the given
Map from the given target message to abstracted
void fromHeaders(MessageHeaders headers, T target)
MessageHeadersto the specified target message.
headers- the abstracted MessageHeaders
target- the native target message