[rabbitmq-discuss] basicpublish Android to Java?

Kamran muhammad.kamrana at gmail.com
Mon Feb 20 14:08:17 GMT 2012


Thanks,
           the consumer of android works fine
        	   mQueue = mModel.queueDeclare().getQueue();
        	   MySubscription = new QueueingConsumer(mModel);
        	   mModel.basicConsume(mQueue, false, MySubscription);"

and the list_consumers shows the declared queues.

The problem lies in the publisher/sender in Android, maybe I should re-
install the environment.


On Feb 20, 2:49 pm, Emile Joubert <em... at rabbitmq.com> wrote:
> 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
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-disc... at lists.rabbitmq.comhttps://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss


More information about the rabbitmq-discuss mailing list