List of usage examples for org.springframework.util AntPathMatcher AntPathMatcher
public AntPathMatcher(String pathSeparator)
From source file:ch.rasc.wampspring.method.DestinationPatternsMessageConditionTest.java
@Test public void prependSlashWithCustomPathSeparator() { DestinationPatternsMessageCondition c = new DestinationPatternsMessageCondition(new String[] { "foo" }, new AntPathMatcher(".")); assertEquals("Pre-pending should be disabled when not using '/' as path separator", "foo", c.getPatterns().iterator().next()); }
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(".")); }