Rename rabbitHealthIndicator bean

Rename the rabbitHealthIndicator bean which was accidentally named
redisHealthIndicator.
This commit is contained in:
Phillip Webb 2014-05-10 22:34:18 +01:00
parent 0402ed38f7
commit bd38893f55
3 changed files with 4 additions and 4 deletions

View File

@ -149,7 +149,7 @@ public class HealthIndicatorAutoConfiguration {
@Bean
@ConditionalOnMissingBean(name = "rabbitHealthIndicator")
public HealthIndicator<?> redisHealthIndicator() {
public HealthIndicator<?> rabbitHealthIndicator() {
if (this.rabbitTemplates.size() == 1) {
return new RabbitHealthIndicator(this.rabbitTemplates.values().iterator()
.next());

View File

@ -1,5 +1,5 @@
/*
* Copyright 2014 the original author or authors.
* Copyright 2012-2014 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.