Steps to reproduce:
- install rabbit MQ as described in http://www.rabbitmq.com/web-stomp.html
- write a simple client based on https://github.com/projectodd/stilts with
StompClient client = new StompClient(new URI("stomp+ws", null, "localhost", 15674, "/stomp", null, null););
- it failed to connect with
java.util.concurrent.TimeoutException: Connection timed out.
Looks like the reason is : rabbitMq has a not-empty path ("/stomp")