public class RouterFactoryBean extends AbstractSimpleMessageHandlerFactoryBean<MessageHandler>
logger
Constructor and Description |
---|
RouterFactoryBean() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canBeUsedDirect(AbstractMessageProducingHandler handler) |
protected void |
checkForIllegalTarget(Object targetObject,
String targetMethodName) |
protected MessageHandler |
createHandler() |
protected Class<? extends MessageHandler> |
getPreCreationHandlerType()
Subclasses can override this to return a more specific type before handler creation.
|
protected boolean |
methodIsHandleMessageOrEmpty(String targetMethodName) |
protected void |
postProcessReplyProducer(AbstractMessageProducingHandler handler) |
void |
setApplySequence(Boolean applySequence) |
void |
setChannelMappings(Map<String,String> channelMappings) |
void |
setDefaultOutputChannel(MessageChannel defaultOutputChannel) |
void |
setDefaultOutputChannelName(String defaultOutputChannelName) |
void |
setExpression(Expression expression) |
void |
setExpressionString(String expressionString) |
void |
setIgnoreSendFailures(Boolean ignoreSendFailures) |
void |
setResolutionRequired(Boolean resolutionRequired) |
void |
setTargetMethodName(String targetMethodName) |
void |
setTargetObject(Object targetObject) |
void |
setTimeout(Long timeout) |
createHandlerInternal, getBeanFactory, getObject, getObjectType, isSingleton, setAdviceChain, setApplicationContext, setApplicationEventPublisher, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setOrder, setOutputChannel
public void setDefaultOutputChannel(MessageChannel defaultOutputChannel)
public void setDefaultOutputChannelName(String defaultOutputChannelName)
public void setTimeout(Long timeout)
public void setResolutionRequired(Boolean resolutionRequired)
public void setApplySequence(Boolean applySequence)
public void setIgnoreSendFailures(Boolean ignoreSendFailures)
protected boolean canBeUsedDirect(AbstractMessageProducingHandler handler)
protected Class<? extends MessageHandler> getPreCreationHandlerType()
AbstractSimpleMessageHandlerFactoryBean
getPreCreationHandlerType
in class AbstractSimpleMessageHandlerFactoryBean<MessageHandler>
public void setTargetObject(Object targetObject)
public void setTargetMethodName(String targetMethodName)
public void setExpressionString(String expressionString)
public void setExpression(Expression expression)
protected MessageHandler createHandler()
createHandler
in class AbstractSimpleMessageHandlerFactoryBean<MessageHandler>
protected void checkForIllegalTarget(Object targetObject, String targetMethodName)
protected boolean methodIsHandleMessageOrEmpty(String targetMethodName)
protected void postProcessReplyProducer(AbstractMessageProducingHandler handler)