MassTransit with RabbitMQ auto generated queues [duplicate] - rabbitmq

This question already has an answer here:
Masstransit queues prefixed with bus and postfixed with random string
(1 answer)
Closed 3 years ago.
I have used MassTransit with RabbitMQ in my project. I create my own queues such as booking.hotel.live. It works well but I see some auto-generated queues in my RabbitMQ queues list. For example :
WINTECH04B7J11_EventConsumer_bus_bf5oyynsyyyfbtsrbdm175wjrh.
What is that mean? What is the usage of them?

Temporary queues are used for request-response.
Already asked and answered a few times, like Masstransit queues prefixed with bus and postfixed with random string

Related

PublishEndpoint.Publish hangs forever when RabbitMQ Memory Alarm goes off [duplicate]

This question already has an answer here:
Specify Publish timeouts in mass transit
(1 answer)
Closed 2 years ago.
I am using MassTransit and RabbitMQ. When RabbitMQ RAM usage exceeds a certain Limit, a memory alarm is raised.
In the overview of the RabbitMQ managment website the memory indicator changes red and states
The memory alarm for this node has gone off. It will block incoming
network traffic until the memory usage drops below the watermark.
While in this state my service still tries to publish messages using MassTransit. But the publish async task will never complete / wait for continuation forever. To me it seems there is some timeout mechanism missing in MassTransit publish. I would expect an exception, if a message can not be published after a certain duration. I do not find a way to configure time out behaviour.
How do you deal with this situation?
Thanks
The Publish method accepts a CancellationToken, which can be used to cancel the publish. This was previously answered with a code sample of how to specify a timeout.

Is it possible to bind exchanges of different types together in RabbitMQ?

I am currently sending messages to a Topic exchange, in which messages are copied to queues based on a matching routing key. I want to be able to copy some of these messages to other consumers based on message headers. Is it possible to achieve this by binding a Headers exchange to the Topic exchange and then binding queues to that based on the incoming message headers?
Yes, you would use an exchange-to-exchange binding docs.
NOTE: the RabbitMQ team monitors the rabbitmq-users mailing list and only sometimes answers questions on StackOverflow.

How to put limit on the message size for RabbitMQ?

I am looking for something similar to https://www.rabbitmq.com/maxlength.html
for the message size of each message in the queue.
RabbitMQ does not support this at this time. Version 3.8.0 will support a global maximum message size across all queues that could be used (link).
NOTE: the RabbitMQ team monitors the rabbitmq-users mailing list and only sometimes answers questions on StackOverflow.

Is there a way to set a TOTAL message number limit in a RabbitMQ queue? x-max-length doesn't take into account the unacked messages

I need a queue with limited message inside considering not only message in queue but also the unacked ones. Is there a way to configure this server side? If yes is it possible using kobu as library?
Thank you
The RabbitMQ team monitors the rabbitmq-users mailing list and only sometimes answers questions on StackOverflow.
The documentation clearly states that queue length uses the count of ready messages: https://www.rabbitmq.com/maxlength.html

How in RabbitMQ and PHP do task one by one?

How do RabbitMQ taks perform one after another Not all the same time,
e.g.
We have 10 task that follow each other.
Task 1 end do task 2 etc..
The RabbitMQ team monitors the rabbitmq-users mailing list and only sometimes answers questions on StackOverflow.
Set your channel's prefetch (QoS) value to 1. Then, when you consume messages, RabbitMQ will only send one message and will not send more until that one message is acknowledged.
I suggest that you do all of the RabbitMQ tutorials, especially this one.