Skip to content

Configuring In Process Transport

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

You can use an In-Process transport for Nimbus for running as a mediator in a single application or for testing. This won't give you any persistence for message storage.

Install-Package Nimbus.Transports.InProcess

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

var transport = new InProcessConfiguration();

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