On 14/10/2013 4:06PM, PATAR, SAGAR wrote: > factory.setPort(15672); 15672 is the port for the HTTP API / web UI. AMQP uses port 5672. You can just delete that line. Cheers, Simon -- Simon MacMullen RabbitMQ, Pivotal