antonyvorontsov / RabbitMQ.Client.Core.DependencyInjection

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

More than one RabbitMq broker? #66

Closed iamkinetic closed 3 years ago

iamkinetic commented 3 years ago

Is there anyway to use this library when we need to use more than one RabbitMq broker within the same application?

antonyvorontsov commented 3 years ago

@iamkinetic I am sorry for the long response.

You can configure multiple hosts with multiple endpoints like this

Best regards, Antony

antonyvorontsov commented 3 years ago

I will close this issue, but feel free to reopen it if something is unclear.