Replies: 1 comment
-
are there any solutions on this matter ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Is it possible to have one application connect to multiple Rabbitmq instances (or virtual hosts) for different messages ? Similarly to the configuration of http clients at startup, where for each class that does http calls, we can configure an http client different from the others. Registering easynetq multiple times with different connection string does not work as the services are registered if no other has been already registered as the ServiceRegisterExtensions.cs reads. We could also imagine in the constructor have multiple implementations of the IBus and choose the right one depending on the class.
Another solution would be to externalize the event buses connections to dedicated console application and transfer the events via http or something like that which could add a lot of complexity.
Thank you in advance for your time and answers.
Gautier DERVAUX
Median Technologies
Beta Was this translation helpful? Give feedback.
All reactions