projectodd/stilts

Java client to Rabbit Mq doesn't work

Opened this issue · 1 comments

Steps to reproduce:

  1. install rabbit MQ as described in http://www.rabbitmq.com/web-stomp.html
  2. 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););
  3. it failed to connect with

java.util.concurrent.TimeoutException: Connection timed out.

Looks like the reason is : rabbitMq has a not-empty path ("/stomp")