Skip to content

Configuring Redis Transport

Damian Maclennan edited this page Nov 10, 2017 · 2 revisions

To use Redis as a transport you first need to install the Redis transport as a nuget package.

Install-Package Nimbus.Transports.Redis

Then you configure the transport and pass it to the Bus Builder.

var transport = new RedisTransportConfiguration().WithConnectionString(connectionString);

var bus = new BusBuilder().Configure()
                            .WithNames("MyApplication", Environment.MachineName)
                            .WithTransport(transport)
                            .WithTypesFrom(typeProvider)
                            .Build();