Class BindingProperties
java.lang.Object
org.springframework.cloud.stream.config.BindingProperties
Contains the properties of a binding.
- Author:
- Marius Bogoevici, Ilayaperumal Gopinathan, Gary Russell, Soby Chacko, Oleg Zhurakousky
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.springframework.util.MimeTypeDefault content type for bindings. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetGroup()booleanvoidvoidsetConsumer(ConsumerProperties consumer) voidsetContentType(String contentType) voidsetDestination(String destination) voidsetErrorHandlerDefinition(String errorHandlerDefinition) voidvoidsetProducer(ProducerProperties producer) toString()
-
Field Details
-
DEFAULT_CONTENT_TYPE
public static final org.springframework.util.MimeType DEFAULT_CONTENT_TYPEDefault content type for bindings.
-
-
Constructor Details
-
BindingProperties
public BindingProperties()
-
-
Method Details
-
getDestination
-
setDestination
-
getGroup
-
setGroup
-
getContentType
-
setContentType
-
getBinder
-
setBinder
-
getConsumer
-
setConsumer
-
getProducer
-
setProducer
-
onlyOneOfProducerOrConsumerSet
public boolean onlyOneOfProducerOrConsumerSet() -
toString
-
getErrorHandlerDefinition
-
setErrorHandlerDefinition
-