public class ServiceActivatorFactoryBean extends AbstractStandardMessageHandlerFactoryBean
ServiceActivatingHandler
instances.logger
OBJECT_TYPE_ATTRIBUTE
Constructor and Description |
---|
ServiceActivatorFactoryBean() |
checkForIllegalTarget, createDefaultHandler, createHandler, destroy, getSendTimeout, methodIsHandleMessageOrEmpty, setExpression, setExpressionString, setRequiresReply, setSendTimeout, setTargetMethodName, setTargetObject
createHandlerInternal, getBeanFactory, getObject, getObjectType, getPreCreationHandlerType, isSingleton, setAdviceChain, setApplicationContext, setApplicationEventPublisher, setAsync, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setOrder, setOutputChannel, setOutputChannelName
public void setNotPropagatedHeaders(String... headers)
protected MessageHandler createMethodInvokingHandler(Object targetObject, String targetMethodName)
AbstractStandardMessageHandlerFactoryBean
createMethodInvokingHandler
in class AbstractStandardMessageHandlerFactoryBean
targetObject
- the object to use for method invocation.targetMethodName
- the method name of the target object to invoke.MessageHandler
implementation.protected MessageHandler createDirectHandlerIfPossible(Object targetObject, String targetMethodName)
MessageHandler
and the method is 'handleMessage', return an
AbstractMessageProducingHandler
that wraps it.targetObject
- the object to check for Direct Handler requirements.targetMethodName
- the method name to check for Direct Handler requirements.targetObject
as a Direct MessageHandler
or null
.protected MessageHandler createExpressionEvaluatingHandler(Expression expression)
createExpressionEvaluatingHandler
in class AbstractStandardMessageHandlerFactoryBean
protected <T> MessageHandler createMessageProcessingHandler(MessageProcessor<T> processor)
createMessageProcessingHandler
in class AbstractStandardMessageHandlerFactoryBean
protected MessageHandler configureHandler(ServiceActivatingHandler handler)
protected boolean canBeUsedDirect(AbstractMessageProducingHandler handler)
AbstractMessageProducingHandler
can
be used directly.canBeUsedDirect
in class AbstractStandardMessageHandlerFactoryBean
protected void postProcessReplyProducer(AbstractMessageProducingHandler handler)
postProcessReplyProducer
in class AbstractStandardMessageHandlerFactoryBean