<div dir="ltr">Hi,<div><br></div><div style>We have an application where in for each client we create a Queue in RabbitMQ.�</div><div style>(i.e. we create a binding with client id to a common exchange)</div><div style>So, all messages that are published with binding key as client id will go to that queue.</div>
<div style><br></div><div style>There is only single client which subscribes to this Queue.�</div><div style>The queue will get messages at the rate of 100 msgs/sec for example.</div><div style><br></div><div style>RabbitMQ is sending only 1 message at a time to the consumer. Even if we set the prefetch count as higher value, the messages are delivered only one by one.</div>
<div style>The callback method in consumer can consume only single message.</div><div style><pre style="color:rgb(0,0,0)">void <b>handleDelivery</b>(java.lang.String�consumerTag,
                    <a href="http://www.rabbitmq.com/releases/rabbitmq-java-client/v3.1.1/rabbitmq-java-client-javadoc-3.1.1/com/rabbitmq/client/Envelope.html" title="class in com.rabbitmq.client">Envelope</a>�envelope,
                    <a href="http://www.rabbitmq.com/releases/rabbitmq-java-client/v3.1.1/rabbitmq-java-client-javadoc-3.1.1/com/rabbitmq/client/AMQP.BasicProperties.html" title="class in com.rabbitmq.client">AMQP.BasicProperties</a>�properties,
                    byte[]�body)
                    throws java.io.IOException</pre></div><div style>Is there a way in RabbitMQ where in we enable RabbitMQ to send mutiple messages to consumer at a time. In my case there is only one consumer per queue. So, by sending mutiple messages to consumer at a time will improve my performance.</div>
<div style><br></div><div style>Can someone suggest how I can achieve this.</div><div style>If rabbitMQ does not support, is there any other way of achieving this.</div><div style><br></div><div style><br></div><div style>
<br></div></div>