Class BinderConfiguration
- java.lang.Object
-
- org.springframework.cloud.stream.binder.BinderConfiguration
-
public class BinderConfiguration extends Object
Configuration for a binder instance, associating aBinderTypewith its configurationProperties. An application may contain multipleBinderConfigurations perBinderType, when connecting to multiple systems of the same type.- Author:
- Marius Bogoevici, Oleg Zhurakousky
-
-
Constructor Summary
Constructors Constructor Description BinderConfiguration(String binderType, Map<String,Object> properties, boolean inheritEnvironment, boolean defaultCandidate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBinderType()Map<String,Object>getProperties()booleanisDefaultCandidate()booleanisInheritEnvironment()
-
-
-
Constructor Detail
-
BinderConfiguration
public BinderConfiguration(String binderType, Map<String,Object> properties, boolean inheritEnvironment, boolean defaultCandidate)
- Parameters:
binderType- the binder type used by this configurationproperties- the properties for setting up the binderinheritEnvironment- whether the binder should inherit the environment of the applicationdefaultCandidate- whether the binder should be considered as a candidate when determining a default
-
-