public class RouterFactoryBean extends AbstractStandardMessageHandlerFactoryBean
logger
Constructor and Description |
---|
RouterFactoryBean() |
checkForIllegalTarget, createDefaultHandler, createHandler, createMessageProcessingHandler, extractTypeIfPossible, methodIsHandleMessageOrEmpty, postProcessReplyProducer, setExpression, setExpressionString, setTargetMethodName, setTargetObject
createHandlerInternal, getBeanFactory, getObject, getObjectType, isSingleton, setAdviceChain, setApplicationContext, setApplicationEventPublisher, setAsync, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setOrder, setOutputChannel
public void setDefaultOutputChannel(MessageChannel defaultOutputChannel)
public void setDefaultOutputChannelName(String defaultOutputChannelName)
@Deprecated public void setTimeout(Long timeout)
setSendTimeout(Long)
.timeout
- the timeout.public void setSendTimeout(Long timeout)
public void setResolutionRequired(Boolean resolutionRequired)
public void setApplySequence(Boolean applySequence)
public void setIgnoreSendFailures(Boolean ignoreSendFailures)
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 createExpressionEvaluatingHandler(Expression expression)
createExpressionEvaluatingHandler
in class AbstractStandardMessageHandlerFactoryBean
protected AbstractMappingMessageRouter createMethodInvokingRouter(Object targetObject, String targetMethodName)
protected AbstractMessageRouter configureRouter(AbstractMessageRouter router)
protected void configureMappingRouter(AbstractMappingMessageRouter router)
protected boolean canBeUsedDirect(AbstractMessageProducingHandler handler)
canBeUsedDirect
in class AbstractStandardMessageHandlerFactoryBean
protected boolean noRouterAttributesProvided()
protected Class<? extends MessageHandler> getPreCreationHandlerType()
AbstractSimpleMessageHandlerFactoryBean
getPreCreationHandlerType
in class AbstractSimpleMessageHandlerFactoryBean<MessageHandler>