Closed hulvei3 closed 4 years ago
Sorry for closing... I thought I had the answer, but I was too quick there.
That would indeed be a nice feature 😄
Defaulting to the entry assembly or something similar would definitely be neat. It could then be customized in the same way as client properties are configured (did you know that that was possible?)
Yes, that would be a natural place to put it. Let me see if I cannot find time to make a PR within the next days..
hi @hulvei3 , you can achieve that by decorating the connection factory, as it's shown in my PR. /Jarik
Note to future self or someone else: When RabbitMq.Client 6 is released, this can be easily solved. 🙂
Actually, I solved this by using .ClientConnectionName(..)
on the RMQ configurer object. Not sure why I missed that a year ago. Maybe it was added afterwards.
Will anyway close this issue.
For debugging purposes, it would be nice to have the option to "label" the connections created with Rebus. This is supported through rabbitmq client and could be defaulted to the assembly or namespace - or not.
This properly fits directly into the
ConnectionManager
unless there's a better way of grouping the properties to rabbit