EasyCaching
EasyCaching copied to clipboard
This Async Implementation is fake
On source code https://github.com/dotnetcore/EasyCaching/blob/bc4a0177cf2cc9c220afbee6aafc6065770af239/bus/EasyCaching.Bus.RabbitMQ/DefaultRabbitMQBus.cs#L113
ExchangeDeclare is a blocking and painful operation, run entire publish as a task, sounds less fake .
@luizcarlosfaria Thanks for your interest in this project.
Yes, this is a fake implementation.
The main considerations are as follows
- It seems that the RabbitMQ client don't have async BasicPublish
- Both Publish/PublishAsync of IEasyCachingBus should be implemented or we should throw NotImplementedException?