Update to Stream 1.0.0.M2
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -27,7 +27,7 @@
|
||||
<properties>
|
||||
<bintray.package>bus</bintray.package>
|
||||
<spring-cloud-commons.version>1.1.0.BUILD-SNAPSHOT</spring-cloud-commons.version>
|
||||
<spring-cloud-stream.version>1.0.0.BUILD-SNAPSHOT</spring-cloud-stream.version>
|
||||
<spring-cloud-stream.version>1.0.0.M2</spring-cloud-stream.version>
|
||||
</properties>
|
||||
|
||||
<profiles>
|
||||
|
||||
@@ -78,9 +78,6 @@ public class BusAutoConfiguration implements ApplicationEventPublisherAware {
|
||||
if (input.getDestination() == null) {
|
||||
input.setDestination(this.bus.getDestination());
|
||||
}
|
||||
if (input.getGroup() == null) {
|
||||
input.setGroup(this.bus.getGroup());
|
||||
}
|
||||
BindingProperties outputBinding = this.bindings.getBindings()
|
||||
.get(SpringCloudBusClient.OUTPUT);
|
||||
if (outputBinding == null) {
|
||||
|
||||
@@ -16,8 +16,6 @@
|
||||
|
||||
package org.springframework.cloud.bus;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
import lombok.Data;
|
||||
@@ -38,11 +36,6 @@ public class BusProperties {
|
||||
* Name of Spring Cloud Stream destination for messages.
|
||||
*/
|
||||
private String destination = "topic:springCloudBus";
|
||||
/**
|
||||
* Group ID for message consumer. Usually globally unique (so all consumers get a
|
||||
* copy of all messages).
|
||||
*/
|
||||
private String group = UUID.randomUUID().toString();
|
||||
|
||||
private boolean enabled = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user