I using Nservicebus version 7.2.3 with NserviceBus.HeartBeat version 3.0.1 i did blow configuration:
var endpointConfiguration = new EndpointConfiguration("Sales");
var transport = endpointConfiguration.UseTransport<RabbitMQTransport>();
transport.UseConventionalRoutingTopology();
transport.ConnectionString("host=localhost;username=guest;password=guest");
endpointConfiguration.SendFailedMessagesTo("error");
endpointConfiguration.AuditProcessedMessagesTo("audit");
endpointConfiguration.SendHeartbeatTo("Particular.ServiceControl");
var metrics = endpointConfiguration.EnableMetrics();
metrics.SendMetricDataToServiceControl("Particular.Monitoring",
TimeSpan.FromMilliseconds(500));
endpointConfiguration.EnableInstallers();//ensure that endpoint-specific artifacts (e.g. database
tables, queues, directories, etc.) are created and configured when the endpoint is started.
var endpointInstance = await Endpoint.Start(endpointConfiguration)
.ConfigureAwait(false);
i get error :
Unable to send heart beat to ServiceControl, Code=404, no exchange ‘Particular.ServiceControl’ on vhost ‘/’
I googled about this and i find using
endpointConfiguration.EnableInstallers();
but it doesn’t work, what is the problem?