public class BeanFactoryMessageChannelDestinationResolver extends Object implements DestinationResolver<MessageChannel>, BeanFactoryAware
DestinationResolverthat interprets a destination name as the bean name of a
MessageChanneland looks up the bean in the configured
|Constructor and Description|
A default constructor that can be used when the resolver itself is configured as a Spring bean and will have the
A constructor that accepts a
|Modifier and Type||Method and Description|
Resolve the given destination name.
Callback that supplies the owning factory to a bean instance.
BeanFactoryinjected as a result of ing having implemented
public BeanFactoryMessageChannelDestinationResolver(BeanFactory beanFactory)
BeanFactoryuseful if instantiating this resolver manually rather than having it defined as a Spring-managed bean.
beanFactory- the bean factory to perform lookups against
public void setBeanFactory(BeanFactory beanFactory)
Invoked after the population of normal bean properties
but before an initialization callback such as
InitializingBean.afterPropertiesSet() or a custom init-method.
public MessageChannel resolveDestination(String name)