org.springframework.integration.config
Class RouterFactoryBean
java.lang.Object
org.springframework.integration.config.AbstractMessageHandlerFactoryBean
org.springframework.integration.config.RouterFactoryBean
- All Implemented Interfaces:
- org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.FactoryBean
public class RouterFactoryBean
- extends AbstractMessageHandlerFactoryBean
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(java.lang.Long timeout)
setResolutionRequired
public void setResolutionRequired(java.lang.Boolean resolutionRequired)
setIgnoreChannelNameResolutionFailures
public void setIgnoreChannelNameResolutionFailures(java.lang.Boolean ignoreChannelNameResolutionFailures)
createHandler
protected MessageHandler createHandler(java.lang.Object targetObject,
java.lang.String targetMethodName)
- Description copied from class:
AbstractMessageHandlerFactoryBean
- Subclasses must implement this method to create the MessageHandler.
- Specified by:
createHandler
in class AbstractMessageHandlerFactoryBean