@Validated public class BindingProperties extends Object implements MergableProperties
Modifier and Type | Field and Description |
---|---|
static org.springframework.util.MimeType |
DEFAULT_CONTENT_TYPE |
Constructor and Description |
---|
BindingProperties() |
Modifier and Type | Method and Description |
---|---|
String |
getBinder() |
ConsumerProperties |
getConsumer() |
String |
getContentType() |
String |
getDestination() |
String |
getGroup() |
ProducerProperties |
getProducer() |
@AssertTrue(message="A binding must not set both producer and consumer properties.") boolean |
onlyOneOfProducerOrConsumerSet() |
void |
setBinder(String binder) |
void |
setConsumer(ConsumerProperties consumer) |
void |
setContentType(String contentType) |
void |
setDestination(String destination) |
void |
setGroup(String group) |
void |
setProducer(ProducerProperties producer) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
copyProperties, merge
public static final org.springframework.util.MimeType DEFAULT_CONTENT_TYPE
public String getDestination()
public void setDestination(String destination)
public String getGroup()
public void setGroup(String group)
public String getContentType()
public void setContentType(String contentType)
public String getBinder()
public void setBinder(String binder)
public ConsumerProperties getConsumer()
public void setConsumer(ConsumerProperties consumer)
public ProducerProperties getProducer()
public void setProducer(ProducerProperties producer)
@AssertTrue(message="A binding must not set both producer and consumer properties.") public @AssertTrue(message="A binding must not set both producer and consumer properties.") boolean onlyOneOfProducerOrConsumerSet()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.