EasyCaching icon indicating copy to clipboard operation
EasyCaching copied to clipboard

Force every publish to execute ExchangeDeclare produce lacks of performance

Open luizcarlosfaria opened this issue 3 years ago • 1 comments

When the code calls ExchangeDeclare, client send a command to server to ensure that exchange exists with these parameters.

As a library do you don't know if the exchange must be a Alternative Exchange or anything else.

https://github.com/dotnetcore/EasyCaching/blob/bc4a0177cf2cc9c220afbee6aafc6065770af239/bus/EasyCaching.Bus.RabbitMQ/DefaultRabbitMQBus.cs#L93

luizcarlosfaria avatar Jun 14 '22 10:06 luizcarlosfaria

@luizcarlosfaria Thanks for your interest in this project.

Sorry for this mistake.

We will improve this in the next version, or can you submit a PR to help us improve this

catcherwong avatar Jun 14 '22 13:06 catcherwong