I have sent around 500 messages to an exchange in RabbitMQ.Only 8 of them are processed by the application while 492 of them are not acknowledged. There are 40 concurrent listeners to the exchange which am posting to.
The logs are as follows:
[taskExecutor-16] DEBUG o.s.a.r.l.BlockingQueueConsumer - Retrieving delivery for Consumer: tags=[{amq.ctag-cydNATSoJE9VYDXDxdS3og=Q102}], channel=Cached Rabbit Channel: AMQChannel(amqp://guest@127.0.0.1:5672/,30), acknowledgeMode=AUTO local queue size=0
02:24:49.130 [taskExecutor-19] DEBUG o.s.a.r.l.BlockingQueueConsumer - Retrieving delivery for Consumer: tags=[{amq.ctag-_tAOgctllmGebYliKjCwPw=Q102}], channel=Cached Rabbit Channel: AMQChannel(amqp://guest@127.0.0.1:5672/,25), acknowledgeMode=AUTO local queue size=0
02:24:49.130 [taskExecutor-6] DEBUG o.s.a.r.l.BlockingQueueConsumer - Retrieving delivery for Consumer: tags=[{amq.ctag-MV9tAhL5QbhtTSOJACziHQ=Q102}], channel=Cached Rabbit Channel: AMQChannel(amqp://guest@127.0.0.1:5672/,39), acknowledgeMode=AUTO local queue size=0
02:24:49.130 [taskExecutor-30] DEBUG o.s.a.r.l.BlockingQueueConsumer - Retrieving delivery for Consumer: tags=[{amq.ctag-SG1nB33uxABsAry7jsc6sw=Q102}], channel=Cached Rabbit Channel: AMQChannel(amqp://guest@127.0.0.1:5672/,24), acknowledgeMode=AUTO local queue size=0
02:24:49.130 [taskExecutor-12] DEBUG o.s.a.r.l.BlockingQueueConsumer - Retrieving delivery for Consumer: tags=[{amq.ctag-MOY_QKujE_JiiNLn9gn7AQ=Q102}], channel=Cached Rabbit Channel: AMQChannel(amqp://guest@127.0.0.1:5672/,34), acknowledgeMode=AUTO local queue size=0
02:24:49.130 [taskExecutor-35] DEBUG o.s.a.r.l.BlockingQueueConsumer - Retrieving delivery for Consumer: tags=[{amq.ctag-BcKYuEPnscByD-h-3NpW3Q=Q102}], channel=Cached Rabbit Channel: AMQChannel(amqp://guest@127.0.0.1:5672/,12), acknowledgeMode=AUTO local queue size=0
02:24:49.130 [taskExecutor-27] DEBUG o.s.a.r.l.BlockingQueueConsumer - Retrieving delivery for Consumer: tags=[{amq.ctag-O2d1WsSE-qHKhhZPu-plSg=Q102}], channel=Cached Rabbit Channel: AMQChannel(amqp://guest@127.0.0.1:5672/,23), acknowledgeMode=AUTO local queue size=0
02:24:49.130 [taskExecutor-18] DEBUG o.s.a.r.l.BlockingQueueConsumer - Retrieving delivery for Consumer: tags=[{amq.ctag-vO9zIyE_t2zBdEElKW4R6w=Q102}], channel=Cached Rabbit Channel: AMQChannel(amqp://guest@127.0.0.1:5672/,28), acknowledgeMode=AUTO local queue size=0
What are the settings to be done to avoid blocking queue issue?