Interface ExtendedBindingProperties<C,P>
-
- Type Parameters:
C
- consumer properties typeP
- producer properties type
- All Known Subinterfaces:
ExtendedPropertiesBinder<T,C,P>
- All Known Implementing Classes:
AbstractExtendedBindingProperties
public interface ExtendedBindingProperties<C,P>
Properties that extend the common binding properties for a particular binder implementation.- Author:
- Marius Bogoevici, Mark Fisher, Soby Chacko
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Map<String,? extends Object>
getBindings()
String
getDefaultsPrefix()
Extended binding properties can define a default prefix to place all the extended common producer and consumer properties.C
getExtendedConsumerProperties(String channelName)
P
getExtendedProducerProperties(String channelName)
Class<? extends BinderSpecificPropertiesProvider>
getExtendedPropertiesEntryClass()
Extended properties class which should be a subclass ofBinderSpecificPropertiesProvider
against which default extended producer and consumer properties are resolved.
-
-
-
Method Detail
-
getDefaultsPrefix
String getDefaultsPrefix()
Extended binding properties can define a default prefix to place all the extended common producer and consumer properties. For example, if the binder type is foo it is convenient to specify common extended properties for the producer or consumer across multiple bindings in the form of `spring.cloud.stream.foo.default.producer.x=y` or `spring.cloud.stream.foo.default.consumer.x=y`. The binding process will use this defaults prefix to resolve any common extended producer and consumer properties.- Returns:
- default prefix for extended properties
- Since:
- 2.1.0
-
getExtendedPropertiesEntryClass
Class<? extends BinderSpecificPropertiesProvider> getExtendedPropertiesEntryClass()
Extended properties class which should be a subclass ofBinderSpecificPropertiesProvider
against which default extended producer and consumer properties are resolved.- Returns:
- extended properties class that contains extended producer/consumer properties
- Since:
- 2.1.0
-
-