Class BinderConfiguration
- java.lang.Object
-
- org.springframework.cloud.stream.binder.BinderConfiguration
-
public class BinderConfiguration extends Object
Configuration for a binder instance, associating aBinderType
with its configurationProperties
. An application may contain multipleBinderConfiguration
s 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 String
getBinderType()
Map<String,Object>
getProperties()
boolean
isDefaultCandidate()
boolean
isInheritEnvironment()
-
-
-
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
-
-