Class BinderAwareChannelResolver

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.messaging.core.DestinationResolver<org.springframework.messaging.MessageChannel>

    @Deprecated
    public class BinderAwareChannelResolver
    extends org.springframework.messaging.core.BeanFactoryMessageChannelDestinationResolver
    Deprecated.
    As of 3.0.0 in favor if providing `spring.cloud.stream.sendto.destination` property. This is primarily for function-based programming model. For StreamListener it would still be required and thus will stay until we deprecate and eventually discontinue StreamListener and annotation-based programming model.
    A 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.
    Author:
    Mark Fisher, Gary Russell, Ilayaperumal Gopinathan, Oleg Zhurakousky
    • Method Detail

      • setBeanFactory

        public void setBeanFactory​(org.springframework.beans.factory.BeanFactory beanFactory)
        Deprecated.
        Specified by:
        setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware
        Overrides:
        setBeanFactory in class org.springframework.messaging.core.BeanFactoryMessageChannelDestinationResolver
      • resolveDestination

        public org.springframework.messaging.MessageChannel resolveDestination​(String channelName)
        Deprecated.
        Specified by:
        resolveDestination in interface org.springframework.messaging.core.DestinationResolver<org.springframework.messaging.MessageChannel>
        Overrides:
        resolveDestination in class org.springframework.messaging.core.BeanFactoryMessageChannelDestinationResolver