From 402543a5ccb87d188fead7e43a19d0da0f421476 Mon Sep 17 00:00:00 2001 From: Oleg Zhurakousky Date: Mon, 19 Feb 2018 17:18:20 -0500 Subject: [PATCH] GH-858 made RetryTemplate injectable Resolves #858 --- .../cloud/stream/binder/AbstractBinder.java | 35 ++++++++++++------- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/spring-cloud-stream/src/main/java/org/springframework/cloud/stream/binder/AbstractBinder.java b/spring-cloud-stream/src/main/java/org/springframework/cloud/stream/binder/AbstractBinder.java index 4d2f61ac9..3137cd0db 100644 --- a/spring-cloud-stream/src/main/java/org/springframework/cloud/stream/binder/AbstractBinder.java +++ b/spring-cloud-stream/src/main/java/org/springframework/cloud/stream/binder/AbstractBinder.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2016 the original author or authors. + * Copyright 2013-2018 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. @@ -21,6 +21,7 @@ import org.apache.commons.logging.LogFactory; import org.springframework.beans.BeansException; import org.springframework.beans.factory.InitializingBean; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.config.ConfigurableListableBeanFactory; import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContextAware; @@ -44,6 +45,7 @@ import org.springframework.util.StringUtils; * @author Marius Bogoevici * @author Soby Chacko * @author Vinicius Carvalho + * @author Oleg Zhurakousky */ public abstract class AbstractBinder implements ApplicationContextAware, InitializingBean, Binder { @@ -61,6 +63,9 @@ public abstract class AbstractBinder