-
Notifications
You must be signed in to change notification settings - Fork 624
1405 Mixed @EnableBinding configuration
Oleg Zhurakousky edited this page Apr 9, 2019
·
1 revision
See issue 1405 for more context.
Typical Spring Cloud Stream configuration assumes that necessary infrastructure components are configured as part of a single application context. However in cases such as the once you see in some cloud components that use spring-cloud-stream there are instances when @EnableBinding
may be part of different auto-configuration and as such may be configured before the spring-cloud-stream infrastructure resulting in missed linkages between internal channels and external destinations which typically manifest themselves with Dispatcher has no subscribers... errors.
For those cases it is necessary to instruct spring container to auto-configure configuration that has @EnableBinding
before BindingServiceConfiguration
@AutoConfigureBefore(BindingServiceConfiguration.class)