org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer Java Examples

The following examples show how to use org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: WebSocketIT.java    From glowroot with Apache License 2.0 5 votes vote down vote up
@Test
public void shouldCaptureTransactionNameHittingWebSocketWithPropertyController()
        throws Exception {
    // property based mapping is not supported until Spring 4.2.x
    String springVersion = WebSocketMessageBrokerConfigurer.class.getPackage()
            .getImplementationVersion();
    assumeFalse(springVersion.startsWith("4.0.") || springVersion.startsWith("4.1."));
    shouldCaptureTransactionNameHittingXyz("", HittingWebSocketWithPropertyController.class);
}
 
Example #2
Source File: WebSocketIT.java    From glowroot with Apache License 2.0 5 votes vote down vote up
@Test
public void shouldCaptureTransactionNameWithContextPathHittingWebSocketWithPropertyController()
        throws Exception {
    // property based mapping is not supported until Spring 4.2.x
    String springVersion = WebSocketMessageBrokerConfigurer.class.getPackage()
            .getImplementationVersion();
    assumeFalse(springVersion.startsWith("4.0.") || springVersion.startsWith("4.1."));
    shouldCaptureTransactionNameHittingXyz("/zzz",
            WithContextPathHittingWebSocketWithPropertyController.class);
}