org.springframework.integration.handler
Class AbstractReplyProducingPostProcessingMessageHandler
java.lang.Object
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.handler.AbstractMessageHandler
org.springframework.integration.handler.AbstractReplyProducingMessageHandler
org.springframework.integration.handler.AbstractReplyProducingPostProcessingMessageHandler
- All Implemented Interfaces:
- org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.core.Ordered, NamedComponent, Orderable, MessageHandler, MessageProducer, PostProcessingMessageHandler, TrackableComponent
- Direct Known Subclasses:
- MessageFilter
public abstract class AbstractReplyProducingPostProcessingMessageHandler
- extends AbstractReplyProducingMessageHandler
- implements PostProcessingMessageHandler
- Since:
- 3.0
- Author:
- Gary Russell
Fields inherited from interface org.springframework.core.Ordered |
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
Methods inherited from class org.springframework.integration.handler.AbstractReplyProducingMessageHandler |
getMessagingTemplate, handleMessageInternal, hasAdviceChain, onInit, setAdviceChain, setBeanClassLoader, setChannelResolver, setOutputChannel, setRequiresReply, setSendTimeout, shouldCopyRequestHeaders |
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport |
afterPropertiesSet, getApplicationContextId, getBeanFactory, getComponentName, getConversionService, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setComponentName, setConversionService, setTaskScheduler, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AbstractReplyProducingPostProcessingMessageHandler
public AbstractReplyProducingPostProcessingMessageHandler()
setPostProcessWithinAdvice
public void setPostProcessWithinAdvice(boolean postProcessWithinAdvice)
- Specify whether the post processing should occur within
the scope of any configured advice classes. If false, the
post processing will occur after the advice chain returns. Default true.
This is only applicable if there is in fact an advice chain present.
handleRequestMessage
protected final java.lang.Object handleRequestMessage(Message<?> requestMessage)
- Description copied from class:
AbstractReplyProducingMessageHandler
- Subclasses must implement this method to handle the request Message. The return
value may be a Message, a MessageBuilder, or any plain Object. The base class
will handle the final creation of a reply Message from any of those starting
points. If the return value is null, the Message flow will end here.
- Specified by:
handleRequestMessage
in class AbstractReplyProducingMessageHandler
doInvokeAdvisedRequestHandler
protected final java.lang.Object doInvokeAdvisedRequestHandler(Message<?> message)
- Overrides:
doInvokeAdvisedRequestHandler
in class AbstractReplyProducingMessageHandler
doHandleRequestMessage
protected abstract java.lang.Object doHandleRequestMessage(Message<?> requestMessage)