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.Modifier and Type | Class and Description |
---|---|
static interface |
BinderAwareChannelResolver.NewDestinationBindingCallback<T>
Configure a new destination before it is bound.
|
Constructor and Description |
---|
BinderAwareChannelResolver(BindingService bindingService,
AbstractBindingTargetFactory<? extends org.springframework.messaging.MessageChannel> bindingTargetFactory,
DynamicDestinationsBindable dynamicDestinationsBindable) |
BinderAwareChannelResolver(BindingService bindingService,
AbstractBindingTargetFactory<? extends org.springframework.messaging.MessageChannel> bindingTargetFactory,
DynamicDestinationsBindable dynamicDestinationsBindable,
BinderAwareChannelResolver.NewDestinationBindingCallback callback) |
BinderAwareChannelResolver(BindingService bindingService,
AbstractBindingTargetFactory<? extends org.springframework.messaging.MessageChannel> bindingTargetFactory,
DynamicDestinationsBindable dynamicDestinationsBindable,
BinderAwareChannelResolver.NewDestinationBindingCallback callback,
org.springframework.integration.config.GlobalChannelInterceptorProcessor globalChannelInterceptorProcessor) |
Modifier and Type | Method and Description |
---|---|
org.springframework.messaging.MessageChannel |
resolveDestination(String channelName) |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
public BinderAwareChannelResolver(BindingService bindingService, AbstractBindingTargetFactory<? extends org.springframework.messaging.MessageChannel> bindingTargetFactory, DynamicDestinationsBindable dynamicDestinationsBindable)
public BinderAwareChannelResolver(BindingService bindingService, AbstractBindingTargetFactory<? extends org.springframework.messaging.MessageChannel> bindingTargetFactory, DynamicDestinationsBindable dynamicDestinationsBindable, BinderAwareChannelResolver.NewDestinationBindingCallback callback)
public BinderAwareChannelResolver(BindingService bindingService, AbstractBindingTargetFactory<? extends org.springframework.messaging.MessageChannel> bindingTargetFactory, DynamicDestinationsBindable dynamicDestinationsBindable, BinderAwareChannelResolver.NewDestinationBindingCallback callback, org.springframework.integration.config.GlobalChannelInterceptorProcessor globalChannelInterceptorProcessor)
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 © 2019 Pivotal Software, Inc.. All rights reserved.