J W
unread,Jun 2, 2023, 7:22:05 AM6/2/23Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rabbitmq-users
In my C# client, I need to handle messages from multiple queues, where each queue may have more than one routing key. For each routing key, I create a channel and an EventingBasicConsumer. When I register one or two channels for testing purposes, everything works fine. However, when I need to handle 10 or 15 queues, each with 3 or 4 keys, I encounter a problem. There is a significant delay of about 20 seconds between calling consumer.BasicConsume() for each consumer and when the handler receives the first message from the queue, even though there are ready messages in the queue when the client starts. It is worth mentioning that once it finally starts, it runs fine. There is no doubt that I am doing something wrong, as RabbitMQ supports a high degree of parallelism.