Spring Integration

org.springframework.integration.config
Class RouterFactoryBean

java.lang.Object
  extended by 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

Constructor Summary
RouterFactoryBean()
           
 
Method Summary
protected  BeanFactory getBeanFactory()
           
 MessageHandler getObject()
           
 Class<? extends MessageHandler> getObjectType()
           
 boolean isSingleton()
           
 void setApplySequence(Boolean applySequence)
           
 void setBeanFactory(BeanFactory beanFactory)
           
 void setChannelResolver(ChannelResolver channelResolver)
           
 void setDefaultOutputChannel(MessageChannel defaultOutputChannel)
           
 void setExpression(String expression)
           
 void setIgnoreChannelNameResolutionFailures(Boolean ignoreChannelNameResolutionFailures)
           
 void setIgnoreSendFailures(Boolean ignoreSendFailures)
           
 void setOrder(Integer order)
           
 void setOutputChannel(MessageChannel outputChannel)
           
 void setResolutionRequired(Boolean resolutionRequired)
           
 void setTargetMethodName(String targetMethodName)
           
 void setTargetObject(Object targetObject)
           
 void setTimeout(Long timeout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RouterFactoryBean

public RouterFactoryBean()
Method Detail

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>

Spring Integration

Copyright © 2010. All Rights Reserved.