From f90cbe5351c67ade2d8b48b30cee1457c5308d78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20W=C3=B6lfel?= Date: Mon, 3 Feb 2020 13:48:13 +0100 Subject: [PATCH] make fixed channel health optional in order to be downwards compatible --- CHANGELOG.md | 4 +++- build.gradle | 2 +- .../synapse/edison/health/FixedChannelHealthIndicator.java | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b1319117..b66c93c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Release Notes +## 0.21.1 +* Introduces FixedChannelHealthIndicator to measure health of asynchronously added eventsources + ## 0.21.0 *synapse-core* * Fixes configuration of default ObjectMapper in that unknown properties are ignored during @@ -9,7 +12,6 @@ * Adds new NitriteStateRepository, including support for secondary indexes. * Introduces MessageSender interface * Adds a simple TeeMessageSender that is sending messages to multiple delegate MessageSenders. -* Introduces FixedChannelHealthIndicator to measure health of asynchronously added eventsources ## 0.20.0 *synapse-core* diff --git a/build.gradle b/build.gradle index 3232e529..fa22c698 100644 --- a/build.gradle +++ b/build.gradle @@ -52,7 +52,7 @@ subprojects { compileJava.dependsOn(processResources) - version = '0.22.0-SNAPSHOT' + version = '0.21.1' group = 'de.otto.synapse' repositories { diff --git a/synapse-edison/src/main/java/de/otto/synapse/edison/health/FixedChannelHealthIndicator.java b/synapse-edison/src/main/java/de/otto/synapse/edison/health/FixedChannelHealthIndicator.java index 7e971962..5b3af2e2 100644 --- a/synapse-edison/src/main/java/de/otto/synapse/edison/health/FixedChannelHealthIndicator.java +++ b/synapse-edison/src/main/java/de/otto/synapse/edison/health/FixedChannelHealthIndicator.java @@ -17,8 +17,8 @@ @ConditionalOnProperty( prefix = "synapse.edison.health", name = "fixedChannel.enabled", - havingValue = "true", - matchIfMissing = true) + havingValue = "true" +) @ConditionalOnBean(EventSource.class) public class FixedChannelHealthIndicator extends AbstractChannelHealthIndicator {