Workaround bug in thin launcher that brings in wrong reactor version
This commit is contained in:
@@ -29,3 +29,4 @@ public class RestApplication {
|
||||
SpringApplication.run(RestApplication.class, args);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -48,10 +48,10 @@ public class ReactorAutoConfiguration extends WebMvcConfigurerAdapter {
|
||||
}
|
||||
|
||||
@Configuration
|
||||
protected static class MessageConverters {
|
||||
protected static class FluxMessageConverterConfiguration {
|
||||
@Bean
|
||||
public HttpMessageConverters httpMessageConverters() {
|
||||
return new HttpMessageConverters(new FluxHttpMessageConverter());
|
||||
public FluxHttpMessageConverter fluxHttpMessageConverter() {
|
||||
return new FluxHttpMessageConverter();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
org.springframework.cloud.function.web.FunctionController
|
||||
org.springframework.cloud.function.web.FunctionController,\
|
||||
org.springframework.cloud.function.web.flux.ReactorAutoConfiguration
|
||||
Reference in New Issue
Block a user