Fix mainApplicationClass for child contexts
- Make sure to set the appropriate mainApplicationClass name for the child applications This resolves #562
This commit is contained in:
@@ -108,6 +108,7 @@ abstract class AggregateApplication {
|
||||
Class<?> app) {
|
||||
return new SpringApplicationBuilder(app)
|
||||
.web(false)
|
||||
.main(app)
|
||||
.bannerMode(Mode.OFF)
|
||||
.properties("spring.jmx.default-domain=" + app)
|
||||
.properties(CHANNEL_NAMESPACE_PROPERTY_NAME + "=" + namespace)
|
||||
|
||||
Reference in New Issue
Block a user