Spring Integration

org.springframework.integration.mapping
Interface RequestReplyHeaderMapper<T>

All Known Subinterfaces:
AmqpHeaderMapper, SoapHeaderMapper, XmppHeaderMapper
All Known Implementing Classes:
AbstractHeaderMapper, DefaultAmqpHeaderMapper, DefaultSoapHeaderMapper, DefaultXmppHeaderMapper

public interface RequestReplyHeaderMapper<T>

Request/Reply 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).

Since:
2.1
Author:
Oleg Zhurakousky

Method Summary
 void fromHeadersToReply(MessageHeaders headers, T target)
           
 void fromHeadersToRequest(MessageHeaders headers, T target)
           
 java.util.Map<java.lang.String,java.lang.Object> toHeadersFromReply(T source)
           
 java.util.Map<java.lang.String,java.lang.Object> toHeadersFromRequest(T source)
           
 

Method Detail

fromHeadersToRequest

void fromHeadersToRequest(MessageHeaders headers,
                          T target)

fromHeadersToReply

void fromHeadersToReply(MessageHeaders headers,
                        T target)

toHeadersFromRequest

java.util.Map<java.lang.String,java.lang.Object> toHeadersFromRequest(T source)

toHeadersFromReply

java.util.Map<java.lang.String,java.lang.Object> toHeadersFromReply(T source)

Spring Integration