|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.integration.handler.AbstractMessageHandler
org.springframework.integration.transformer.TransformerMessageHandler
public class TransformerMessageHandler
Field Summary |
---|
Fields inherited from class org.springframework.integration.handler.AbstractMessageHandler |
---|
logger |
Fields inherited from interface org.springframework.core.Ordered |
---|
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
Constructor Summary | |
---|---|
TransformerMessageHandler()
|
Method Summary | |
---|---|
protected Message<?> |
createReplyMessage(java.lang.Object result,
Message<?> requestMessage)
Subclasses must implement this method to generate the reply Message when the return value is not a Message instance. |
protected Message<?> |
postProcessReplyMessage(Message<?> replyMessage,
Message<?> requestMessage)
Subclasses must implement this method to process a return value that is already a Message instance. |
Methods inherited from class org.springframework.integration.handler.AbstractMessageHandler |
---|
afterPropertiesSet, getOrder, handle, setMethod, setMethodName, setObject, setOrder |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TransformerMessageHandler()
Method Detail |
---|
protected Message<?> createReplyMessage(java.lang.Object result, Message<?> requestMessage)
AbstractMessageHandler
createReplyMessage
in class AbstractMessageHandler
result
- the return value from an adapter method, or the Message payload if not acting as an adapterrequestMessage
- the original request Message
protected Message<?> postProcessReplyMessage(Message<?> replyMessage, Message<?> requestMessage)
AbstractMessageHandler
postProcessReplyMessage
in class AbstractMessageHandler
replyMessage
- the Message returned from an adapter methodrequestMessage
- the original request Message
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |