Support Java 11
Upgraded commons-lang3
to version 3.8.1
to support Java 11.
Fixed subscription auto configuration
Subscriptions were broken because of a change in the autoconfiguration. Reverted that change from:
@Bean
@ConditionalOnMissingBean
@ConditionalOnBean(ServerContainer.class)
public ServerEndpointExporter serverEndpointExporter() { return new ServerEndpointExporter(); }
back to:
@Bean
@ConditionalOnMissingBean
@ConditionalOnClass(ServerContainer.class)
public ServerEndpointExporter serverEndpointExporter() { return new ServerEndpointExporter(); }
This requires @SpringBootTest
unit tests to use a webEnvironment
because they won't run otherwise.
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
public class YourTest {
// ...
}