[rabbitmq-discuss] Is there a way to receive multiple message using a single synchronous call ?

Vikram Viswanathan vikram.vis at gmail.com
Sun Jun 9 02:23:55 BST 2013



When I know that there are N messages( N could be a small value less 
than 10) in the queue, then I should be able to do something like 
channel.basic_get(String queue, boolean autoAck , int numberofMsg ). I 
don't want to make multiple requests to the server and  I don't want to 
register a handler to receive messages.

Is there a way ?

Thanks,
-Vikram


More information about the rabbitmq-discuss mailing list