Bru
Bru
Excellent thank you @AndrewTriesToCode and @fbjerggaard, I'll have a play around with these and see what I can get working. I'm currently intrested in only the identifier as each service...
I think it will still require the developer to need to do some configuration. I am seeing two possible ways to achieve this. I am unsure if this is correct....
@fbjerggaard thanks, let me see what I can do. I might be completely wrong but I'm doing all the dev work here: https://github.com/Bru456/Finbuckle.MultiTenant branch will be called MassTransit just not...
@AndrewTriesToCode I am assuming that Finbuckle only supports ASP.Net? I'm not seeing a middleware for console apps? Does anyone here use console apps for their background services or do you...
@fbjerggaard Theres sadly no easy way to get the tenant via extending the `ConsumeContext`, there is no write options that I have found on the context to store anything. It...
I wasnt even looking at the masstransit side. I've been attempting to do strategies. I have this: ```c# public class MassTransitHeaderStrategy : IMultiTenantStrategy { private readonly string _headerKey; public MassTransitHeaderStrategy(string...
Okay, I am playing with the following strategy: ```C# namespace Finbuckle.MultiTenant.MassTransit.Strategies { public class MassTransitHeaderStrategy : IMultiTenantStrategy { private readonly string _headerKey; public MassTransitHeaderStrategy(string headerKey) { _headerKey = headerKey; }...
I was thinking that too with the rewriting the strategies, it feels better and less hacky. I doubt anyone does anything with them outside of Finbuckle. I'm just not sure...
Could replace the `object` with the actual context types expected. i.e. `HttpContext` and `ConsumeContext` and possible have or modify the factory to intelligently route to the correct context types. and...
Successful test complete: Log Entries for both a producer and consumer: `MassTransitApi.Controllers.TestBusController: Information: Sending Bus Message for Tenant: tenant-1` `MassTransitApi.Consumers.GettingStartedConsumer: Information: Tenant: tenant-1 Received: Hello, World!`