How to create all required RabbitMQ exchanges, queues etc?

Hi!
I am trying to run RetailDemo on RabbitMQ transport and found that NSB doesn’t create some required elements like exchanges and queues.
Is there a way to create all required elements automatically?
That is my code

static async Task Main()
{
    Console.Title = "Sales";

    var endpointConfiguration = new EndpointConfiguration("Sales");

    var transport = endpointConfiguration.UseTransport<RabbitMQTransport>();
    transport.UseConventionalRoutingTopology();
    transport.ConnectionString("host=localhost");

    var endpointInstance = await Endpoint.Start(endpointConfiguration)
        .ConfigureAwait(false);

    Console.WriteLine("Press Enter to exit.");
    Console.ReadLine();

    await endpointInstance.Stop()
        .ConfigureAwait(false);
}

Hi @alewmt

Looks like you need a line to enable installer for the resources to be created automatically.
You can add the following line to your configuration code to enable installers:

endpointConfiguration.EnableInstallers();

You’ll be able to find more information about installers in this article.