There were two main reasons for the problem. 1. Reason
When I manually received, my bindings were failing. I added the endpoints directly in the context as shown in the documentation. cfg.ConfigureEndpoints(context);
2. Reason
There were old exchanges with the same name and queues connected to them. During the tests, it was not enough to just delete the queue. There are exchanges that the queue is connected to. Since the same exchange already exists, it is not recreated. Since the exchange was not recreated, it could not reconnect while connecting the relevant queue. Clearing all exchanges and running the tests from scratch solved my problem.