WIP
This commit is contained in:
@@ -3,7 +3,4 @@
|
||||
* xref:_attributes.adoc[]
|
||||
* xref:intro.adoc[]
|
||||
* xref:quickstart.adoc[]
|
||||
* xref:README.adoc[]
|
||||
* xref:_configprops.adoc[]
|
||||
* xref:appendix.adoc[]
|
||||
* xref:sagan-index.adoc[]
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
[[spring-cloud-bus]]
|
||||
= Spring Cloud Bus
|
||||
:page-section-summary-toc: 1
|
||||
|
||||
|
||||
[[quick-start]]
|
||||
== Quick Start
|
||||
|
||||
|
||||
[[building]]
|
||||
== Building
|
||||
|
||||
include::https://raw.githubusercontent.com/spring-cloud/spring-cloud-build/master/docs/src/main/asciidoc/building.adoc[]
|
||||
|
||||
[[contributing]]
|
||||
== Contributing
|
||||
|
||||
include::https://raw.githubusercontent.com/spring-cloud/spring-cloud-build/master/docs/src/main/asciidoc/contributing.adoc[]
|
||||
@@ -1,14 +0,0 @@
|
||||
|===
|
||||
|Name | Default | Description
|
||||
|
||||
|spring.cloud.bus.ack.destination-service | | Service that wants to listen to acks. By default null (meaning all services).
|
||||
|spring.cloud.bus.ack.enabled | `+++true+++` | Flag to switch off acks (default on).
|
||||
|spring.cloud.bus.content-type | | The bus mime-type.
|
||||
|spring.cloud.bus.destination | | Name of Spring Cloud Stream destination for messages.
|
||||
|spring.cloud.bus.enabled | `+++true+++` | Flag to indicate that the bus is enabled.
|
||||
|spring.cloud.bus.env.enabled | `+++true+++` | Flag to switch off environment change events (default on).
|
||||
|spring.cloud.bus.id | `+++application+++` | The identifier for this application instance.
|
||||
|spring.cloud.bus.refresh.enabled | `+++true+++` | Flag to switch off refresh events (default on).
|
||||
|spring.cloud.bus.trace.enabled | `+++false+++` | Flag to switch on tracing of acks (default off).
|
||||
|
||||
|===
|
||||
6
docs/modules/ROOT/pages/configprops.adoc
Normal file
6
docs/modules/ROOT/pages/configprops.adoc
Normal file
@@ -0,0 +1,6 @@
|
||||
[[configuration-properties]]
|
||||
= Configuration Properties
|
||||
|
||||
Below you can find a list of configuration properties.
|
||||
|
||||
include::partial$_configprops.adoc[]
|
||||
@@ -1,26 +0,0 @@
|
||||
|
||||
Spring Cloud Bus links nodes of a distributed system with a lightweight message broker. This can then be used to broadcast state changes (e.g. configuration changes) or other management instructions. AMQP and Kafka broker implementations are included with the project. Alternatively, any link:https://spring.io/projects/spring-cloud-stream[Spring Cloud Stream] binder found on the classpath will work out of the box as a transport.
|
||||
|
||||
## Getting Started
|
||||
As long as Spring Cloud Bus AMQP and RabbitMQ are on the
|
||||
classpath any Spring Boot application will try to contact a RabbitMQ
|
||||
server on `localhost:5672` (the default value of
|
||||
`spring.rabbitmq.addresses`):
|
||||
|
||||
```java
|
||||
@Configuration
|
||||
@EnableAutoConfiguration
|
||||
@RestController
|
||||
public class Application {
|
||||
|
||||
@RequestMapping("/")
|
||||
public String home() {
|
||||
return "Hello World";
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(Application.class, args);
|
||||
}
|
||||
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user