Class BindingServiceProperties

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

    @ConfigurationProperties("spring.cloud.stream")
    public class BindingServiceProperties
    extends Object
    implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
    Author:
    Dave Syer, Marius Bogoevici, Gary Russell, Ilayaperumal Gopinathan, Oleg Zhurakousky, Michael Michailidis
    • Constructor Detail

      • BindingServiceProperties

        public BindingServiceProperties()
    • Method Detail

      • getDefaultBinder

        public String getDefaultBinder()
      • setDefaultBinder

        public void setDefaultBinder​(String defaultBinder)
      • getInstanceIndex

        public int getInstanceIndex()
      • setInstanceIndex

        public void setInstanceIndex​(int instanceIndex)
      • getInstanceIndexList

        public List<Integer> getInstanceIndexList()
      • setInstanceIndexList

        public void setInstanceIndexList​(List<Integer> instanceIndexList)
      • getInstanceCount

        public int getInstanceCount()
      • setInstanceCount

        public void setInstanceCount​(int instanceCount)
      • getDynamicDestinations

        public String[] getDynamicDestinations()
      • setDynamicDestinations

        public void setDynamicDestinations​(String[] dynamicDestinations)
      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)
                                   throws org.springframework.beans.BeansException
        Specified by:
        setApplicationContext in interface org.springframework.context.ApplicationContextAware
        Throws:
        org.springframework.beans.BeansException
      • setConversionService

        public void setConversionService​(org.springframework.core.convert.ConversionService conversionService)
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        Exception
      • getBinderType

        public String getBinderType​(String binderName)
      • getBinder

        public String getBinder​(String bindingName)
      • asMapProperties

        public Map<String,​Object> asMapProperties()
        Return configuration properties as Map.
        Returns:
        map of binding configuration properties.
      • getBindingDestination

        public String getBindingDestination​(String bindingName)
      • getBindingRetryInterval

        public int getBindingRetryInterval()
      • setBindingRetryInterval

        public void setBindingRetryInterval​(int bindingRetryInterval)
      • setSource

        @Deprecated
        public void setSource​(String source)
        Deprecated.
        in favor of #setOutputBindings()
      • updateProducerProperties

        public void updateProducerProperties​(String bindingName,
                                             ProducerProperties producerProperties)
      • getDynamicDestinationCacheSize

        public int getDynamicDestinationCacheSize()
      • setDynamicDestinationCacheSize

        public void setDynamicDestinationCacheSize​(int dynamicDestinationCacheSize)
      • getInputBindings

        public String getInputBindings()
      • setInputBindings

        public void setInputBindings​(String inputBindings)
      • getOutputBindings

        public String getOutputBindings()
      • setOutputBindings

        public void setOutputBindings​(String outputBindings)