From f68c4de6f6d646a500787e84a295e146383d4144 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Fri, 12 Jun 2015 17:14:27 +0100 Subject: [PATCH] Tick off rebind channels --- roadmap.md | 2 +- .../bus/runner/adapter/ChannelsMetadata.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/roadmap.md b/roadmap.md index 4558386ee..df85a72c9 100644 --- a/roadmap.md +++ b/roadmap.md @@ -83,7 +83,7 @@ To be deployable as an XD module in a "traditional" way you need `/config/*.prop - [x] Discover channel names through Spring Cloud service discovery (via "/channels" endpoint on remote components) -- [ ] Listen for changes in discovery catalog and potentially rebind channels +- [x] Listen for changes in discovery catalog and potentially rebind channels - [ ] Optional validation of application as XD module diff --git a/spring-bus-core/src/main/java/org/springframework/bus/runner/adapter/ChannelsMetadata.java b/spring-bus-core/src/main/java/org/springframework/bus/runner/adapter/ChannelsMetadata.java index 90fc03a33..a37b5fc99 100644 --- a/spring-bus-core/src/main/java/org/springframework/bus/runner/adapter/ChannelsMetadata.java +++ b/spring-bus-core/src/main/java/org/springframework/bus/runner/adapter/ChannelsMetadata.java @@ -31,7 +31,7 @@ public class ChannelsMetadata { private MessageBusProperties module; public MessageBusProperties getModule() { - return module; + return this.module; } public void setModule(MessageBusProperties module) { @@ -39,7 +39,7 @@ public class ChannelsMetadata { } public Collection getOutputChannels() { - return outputChannels; + return this.outputChannels; } public void setOutputChannels(Collection outputChannels) { @@ -47,7 +47,7 @@ public class ChannelsMetadata { } public Collection getInputChannels() { - return inputChannels; + return this.inputChannels; } public void setInputChannels(Collection inputChannels) {