Class BinderConfiguration
java.lang.Object
org.springframework.cloud.stream.binder.BinderConfiguration
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 Summary
ConstructorsConstructorDescriptionBinderConfiguration(String binderType, Map<String, Object> properties, boolean inheritEnvironment, boolean defaultCandidate) -
Method Summary
Modifier and TypeMethodDescriptionbooleanboolean
-
Constructor Details
-
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
-
-
Method Details
-
getBinderType
-
getProperties
-
isInheritEnvironment
public boolean isInheritEnvironment() -
isDefaultCandidate
public boolean isDefaultCandidate()
-