public class BinderAwareChannelResolver
extends org.springframework.messaging.core.BeanFactoryMessageChannelDestinationResolver
DestinationResolver
implementation that
resolves the channel from the bean factory and, if not present, creates a new channel
and adds it to the factory after binding it to the binder.Constructor and Description |
---|
BinderAwareChannelResolver(ChannelBindingService channelBindingService,
BindableChannelFactory bindableChannelFactory,
DynamicDestinationsBindable dynamicDestinationsBindable) |
Modifier and Type | Method and Description |
---|---|
org.springframework.messaging.MessageChannel |
resolveDestination(String channelName) |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
public BinderAwareChannelResolver(ChannelBindingService channelBindingService, BindableChannelFactory bindableChannelFactory, DynamicDestinationsBindable dynamicDestinationsBindable)
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
setBeanFactory
in interface org.springframework.beans.factory.BeanFactoryAware
setBeanFactory
in class org.springframework.messaging.core.BeanFactoryMessageChannelDestinationResolver
public org.springframework.messaging.MessageChannel resolveDestination(String channelName)
resolveDestination
in interface org.springframework.messaging.core.DestinationResolver<org.springframework.messaging.MessageChannel>
resolveDestination
in class org.springframework.messaging.core.BeanFactoryMessageChannelDestinationResolver
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.