antonyvorontsov / RabbitMQ.Client.Core.DependencyInjection

.Net Core library-wrapper of RabbitMQ.Client for Dependency Injection.
MIT License
111 stars 36 forks source link

Examples.BatchMessageHandler #46

Closed goranhell closed 4 years ago

goranhell commented 4 years ago

doesn't work

antonyvorontsov commented 4 years ago

Hi, Göran

Can you please provide a little bit more information? It will be cool If you can show me a code sample which doest not work, thus, I can reproduce the issue/issues.

Either it works, but something is unclear in the documentation.

Best regards, Antony

goranhell commented 4 years ago

bild I get this. The code it untouched.

antonyvorontsov commented 4 years ago

I have just drafted a new release 4.1.1. Try it out. The problem was kinda silly - there was connection factory DI registering missed 🛑

Try it out. But be aware that batch message handlers do not declare queues so you either have to create in manually or use AddConsumptionExchange method with exchange and queues configuration.

goranhell commented 4 years ago

Seems to work, thx