Investigate the need for explicit import of boot's RabbitAutoConfiguration in RabbitServiceAutoConfiguration
olegz opened this issue · comments
Oleg Zhurakousky commented
Basically because we have an explicit import of RabbitAutoConfiguration
in RabbitServiceAutoConfiguration
/**
* Configuration to be used when the cloud profile is not set. Defer to Spring Boot
* auto-configuration.
*/
@Configuration
@Profile("!cloud")
@Import(RabbitAutoConfiguration.class)
protected static class NoCloudProfile {
}
. . . explicit exclusion such as @SpringBootApplication(exclude = RabbitAutoConfiguration.class)
becomes meaningless.
@garyrussell for any relevant input you may have on this would be nice
Gary Russell commented
Interesting; I have no idea why that's there; seems unnecessary to me.
Sabby Anandan commented
Is this a duplicate of #187?
Gary Russell commented
Duplicates #187