how can I create virtual host from masstransit service bus configuration?
I mean, for example, I deployed my app to some new PC and it should create new virtual host for itself.
I'm trying do this like this:
var bus = ServiceBusFactory.New(sbc =>
{
sbc.UseRabbitMq();
sbc.UseHealthMonitoring(10);
sbc.ReceiveFrom("rabbitmq://localhost:5672/mynewcustomvhost/myqueue?temporary=true");
});
But getting error:
"No Obvious Problems says ConfigurationResult"
Why so?