Hi,
In my self host server, I config NServiceBus in this way:
NServiceBus.Configure.With()
.Log4Net()
.CastleWindsorBuilder(_container)
.XmlSerializer() // or BinarySerializer()
.MsmqTransport()
.IsTransactional(true)
.UnicastBus()
.LoadMessageHandlers()
.Sagas()
.CreateBus()
.Start();
It threw null reference exception at: src\impl\Sagas\NServiceBus.Sagas.Impl\SagaMessageHandler.cs:line 168
, which I figured it is because of missing saga persister.
In generic host, by passing "NServiceBus.Lite" from command line, the in-memory persister is used. How do I configure the self-host server to use in-memory saga persister?
Thanks!