[rabbitmq-discuss] Peek into a queue
vinorasmus at gmail.com
Thu Nov 20 07:24:42 GMT 2008
Does AMQP support the ability to peek into the contents of a Queue
without actually dequeueing ?
I tried doing this and but it is doing an actual dequeue.
GetResponse response = channel.basicGet( tuple.ticket, Q, true );
String s = new String( response.getBody(), "UTF-8" );
System.out.println( "received = " + s );
More information about the rabbitmq-discuss