public abstract class AbstractReplyProducingPostProcessingMessageHandler extends AbstractReplyProducingMessageHandler implements PostProcessingMessageHandler
AbstractReplyProducingMessageHandler.RequestHandler
logger
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
AbstractReplyProducingPostProcessingMessageHandler() |
Modifier and Type | Method and Description |
---|---|
protected abstract Object |
doHandleRequestMessage(Message<?> requestMessage) |
protected Object |
doInvokeAdvisedRequestHandler(Message<?> message) |
protected Object |
handleRequestMessage(Message<?> requestMessage)
Subclasses must implement this method to handle the request Message.
|
void |
setPostProcessWithinAdvice(boolean postProcessWithinAdvice)
Specify whether the post processing should occur within
the scope of any configured advice classes.
|
doInit, getMessagingTemplate, handleMessageInternal, hasAdviceChain, onInit, setAdviceChain, setBeanClassLoader, setChannelResolver, setOutputChannel, setOutputChannelName, setRequiresReply, setSendTimeout, shouldCopyRequestHeaders
getComponentType, getOrder, handleMessage, setOrder, setShouldTrack
afterPropertiesSet, getApplicationContextId, getBeanFactory, getComponentName, getConversionService, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setComponentName, setConversionService, setMessageBuilderFactory, setTaskScheduler, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
postProcess
getComponentName
public AbstractReplyProducingPostProcessingMessageHandler()
public void setPostProcessWithinAdvice(boolean postProcessWithinAdvice)
postProcessWithinAdvice
- true if the post processing should be performed within the advice.protected final Object handleRequestMessage(Message<?> requestMessage)
AbstractReplyProducingMessageHandler
handleRequestMessage
in class AbstractReplyProducingMessageHandler
requestMessage
- The request message.null
.protected final Object doInvokeAdvisedRequestHandler(Message<?> message)
doInvokeAdvisedRequestHandler
in class AbstractReplyProducingMessageHandler