Class BinderConfiguration

java.lang.Object
org.springframework.cloud.stream.binder.BinderConfiguration

public class BinderConfiguration extends Object
Configuration for a binder instance, associating a BinderType with its configuration Properties. An application may contain multiple BinderConfigurations per BinderType, when connecting to multiple systems of the same type.
Author:
Marius Bogoevici, Oleg Zhurakousky
  • Constructor Details

    • BinderConfiguration

      public BinderConfiguration(String binderType, Map<String,Object> properties, boolean inheritEnvironment, boolean defaultCandidate)
      Parameters:
      binderType - the binder type used by this configuration
      properties - the properties for setting up the binder
      inheritEnvironment - whether the binder should inherit the environment of the application
      defaultCandidate - whether the binder should be considered as a candidate when determining a default
  • Method Details

    • getBinderType

      public String getBinderType()
    • getProperties

      public Map<String,Object> getProperties()
    • isInheritEnvironment

      public boolean isInheritEnvironment()
    • isDefaultCandidate

      public boolean isDefaultCandidate()