Package org.springframework.cloud.bus
Class BusProperties
- java.lang.Object
-
- org.springframework.cloud.bus.BusProperties
-
@ConfigurationProperties("spring.cloud.bus") public class BusProperties extends Object
- Author:
- Dave Syer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BusProperties.Ack
Spring Cloud Bus properties related to acknowledgments.static class
BusProperties.Trace
Spring Cloud Bus trace properties.
-
Constructor Summary
Constructors Constructor Description BusProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BusProperties.Ack
getAck()
org.springframework.util.MimeType
getContentType()
String
getDestination()
String
getId()
BusProperties.Trace
getTrace()
boolean
isEnabled()
void
setContentType(org.springframework.util.MimeType contentType)
void
setDestination(String destination)
void
setEnabled(boolean enabled)
void
setId(String id)
String
toString()
-
-
-
Field Detail
-
PREFIX
public static final String PREFIX
Configuration prefix for spring cloud bus.- See Also:
- Constant Field Values
-
-
Method Detail
-
getAck
public BusProperties.Ack getAck()
-
getTrace
public BusProperties.Trace getTrace()
-
getDestination
public String getDestination()
-
setDestination
public void setDestination(String destination)
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
getId
public String getId()
-
setId
public void setId(String id)
-
getContentType
public org.springframework.util.MimeType getContentType()
-
setContentType
public void setContentType(org.springframework.util.MimeType contentType)
-
-