GH-1838 Deprecated BinderAwareChannelResolver

Resolves #1838
This commit is contained in:
Oleg Zhurakousky
2019-10-31 20:19:59 +01:00
parent e2a41e7871
commit 2310bc698e
2 changed files with 9 additions and 0 deletions

View File

@@ -176,3 +176,6 @@ compatibility you can still bring `spring-cloud-stream-reactive` from previous v
- _Test support binder_ `spring-cloud-stream-test-support` with MessageCollector in favor of a new test binder. See <<Testing>> for more details.
- _@StreamMessageConverter_ - deprecated as it is no longer required.
- The `original-content-type` header references have been removed after it's been deprecated in v2.0.
- The `BinderAwareChannelResolver` is deprecated in favor if providing `spring.cloud.stream.sendto.destination` property.
This is primarily for function-based programming model. For StreamListener it would still be required and thus will stay until we deprecate and eventually discontinue StreamListener
and annotation-based programming model.

View File

@@ -36,7 +36,13 @@ import org.springframework.util.ObjectUtils;
* @author Gary Russell
* @author Ilayaperumal Gopinathan
* @author Oleg Zhurakousky
*
* @deprecated As of 3.0.0 in favor if providing `spring.cloud.stream.sendto.destination` property.
* This is primarily for function-based programming model. For StreamListener it would still be
* required and thus will stay until we deprecate and eventually discontinue StreamListener
* and annotation-based programming model.
*/
@Deprecated
public class BinderAwareChannelResolver
extends BeanFactoryMessageChannelDestinationResolver {