org.springframework.integration.config
Class RouterFactoryBean
java.lang.Object
org.springframework.integration.config.RouterFactoryBean
- All Implemented Interfaces:
- BeanFactoryAware, FactoryBean<MessageHandler>
public class RouterFactoryBean
- extends Object
Factory bean for creating a Message Router.
- Author:
- Mark Fisher, Jonas Partner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RouterFactoryBean
public RouterFactoryBean()
setChannelResolver
public void setChannelResolver(ChannelResolver channelResolver)
setDefaultOutputChannel
public void setDefaultOutputChannel(MessageChannel defaultOutputChannel)
setTimeout
public void setTimeout(Long timeout)
setResolutionRequired
public void setResolutionRequired(Boolean resolutionRequired)
setIgnoreChannelNameResolutionFailures
public void setIgnoreChannelNameResolutionFailures(Boolean ignoreChannelNameResolutionFailures)
setApplySequence
public void setApplySequence(Boolean applySequence)
setIgnoreSendFailures
public void setIgnoreSendFailures(Boolean ignoreSendFailures)
setTargetObject
public void setTargetObject(Object targetObject)
setTargetMethodName
public void setTargetMethodName(String targetMethodName)
setExpression
public void setExpression(String expression)
setOutputChannel
public void setOutputChannel(MessageChannel outputChannel)
setOrder
public void setOrder(Integer order)
setBeanFactory
public void setBeanFactory(BeanFactory beanFactory)
throws BeansException
- Specified by:
setBeanFactory
in interface BeanFactoryAware
- Throws:
BeansException
getBeanFactory
protected BeanFactory getBeanFactory()
getObject
public MessageHandler getObject()
throws Exception
- Specified by:
getObject
in interface FactoryBean<MessageHandler>
- Throws:
Exception
getObjectType
public Class<? extends MessageHandler> getObjectType()
- Specified by:
getObjectType
in interface FactoryBean<MessageHandler>
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interface FactoryBean<MessageHandler>
Copyright © 2010. All Rights Reserved.