[rabbitmq-discuss] basicpublish Android to Java?

Emile Joubert emile at rabbitmq.com
Mon Feb 20 13:49:57 GMT 2012


Hi,

On 20/02/12 13:30, Kamran wrote:
>     private final static String QUEUE_NAME = "hello";
> MessageConsumer("192.168.2.3","logs","fanout");

How does your consumer know which queue to listen on?

You can confirm whether your message consumer is correctly registered by
running "rabbitmqctl list_consumers" or "rabbitmqctl list_queue
consumers". If your consumer is listed in the results then it should
receive messages. If it is not listed then the registration is faulty.



-Emile


More information about the rabbitmq-discuss mailing list