Class BindingServiceProperties

java.lang.Object
org.springframework.cloud.stream.config.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 Details

    • BindingServiceProperties

      public BindingServiceProperties()
  • Method Details

    • getBindings

      public Map<String,BindingProperties> getBindings()
    • setBindings

      public void setBindings(Map<String,BindingProperties> bindings)
    • getBinders

      public Map<String,BinderProperties> getBinders()
    • setBinders

      public void setBinders(Map<String,BinderProperties> binders)
    • 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
    • getBinder

      public String getBinder(String bindingName)
    • asMapProperties

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

      public ConsumerProperties getConsumerProperties(String inputBindingName)
    • getProducerProperties

      public ProducerProperties getProducerProperties(String outputBindingName)
    • getBindingProperties

      public BindingProperties getBindingProperties(String bindingName)
    • getGroup

      public String getGroup(String bindingName)
    • getBindingDestination

      public String getBindingDestination(String bindingName)
    • getBindingRetryInterval

      public int getBindingRetryInterval()
    • setBindingRetryInterval

      public void setBindingRetryInterval(int bindingRetryInterval)
    • getSource

      @Deprecated public String getSource()
      Deprecated.
    • 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)