List of usage examples for org.springframework.messaging.simp.config MessageBrokerRegistry setPathMatcher
public MessageBrokerRegistry setPathMatcher(PathMatcher pathMatcher)
From source file:org.jimsey.project.sswt.WebSocketConfig.java
@Override public void configureMessageBroker(final MessageBrokerRegistry config) { // to support stomp over websockets natively... // config.enableSimpleBroker("/topic"); // to use the stomp support build into RabbitMQ... config.enableStompBrokerRelay("/topic", "/queue").setRelayHost("localhost").setRelayPort(61613) .setSystemLogin("guest").setSystemPasscode("guest").setVirtualHost("/"); config.setApplicationDestinationPrefixes("/app"); config.setPathMatcher(new AntPathMatcher(".")); }
From source file:org.jimsey.projects.turbine.condenser.WebSocketConfig.java
@Override public void configureMessageBroker(final MessageBrokerRegistry config) { // to support stomp over websockets natively... // config.enableSimpleBroker("/topic"); // to use the stomp support build into RabbitMQ... config.enableStompBrokerRelay("/topic", "/queue").setRelayHost("localhost").setRelayPort(61613) .setSystemLogin("guest").setSystemPasscode("guest"); // .setVirtualHost("/"); config.setApplicationDestinationPrefixes("/app"); config.setPathMatcher(new AntPathMatcher(".")); }