English 中文(简体)
如何做 n,在自行托管服务器的圆形中始终存在 s。
原标题:How to make nservicebus persist saga in-memory for self-host server

在我自己的服务器中,我以这种方式召集了NSERBus:

            NServiceBus.Configure.With()
                .Log4Net()
                .CastleWindsorBuilder(_container)
                .XmlSerializer() // or BinarySerializer()
                .MsmqTransport()
                .IsTransactional(true)
                .UnicastBus()
                    .LoadMessageHandlers()
                .Sagas()
                .CreateBus()
                .Start();

It threw null reference exception at: srcimplSagasNServiceBus.Sagas.ImplSagaMessageHandler.cs:line 168

我所看到的是,由于失踪的沙迦持续存在。

在一般情况下,从指挥线通过“NserviceBus.Lite”后,使用流传器。 我如何混淆自机服务器在流层中的使用?

感谢!

最佳回答

2.0年,InMemorySagapersister是东道国的一部分。 因此,如果你再读2.0版,我建议你要么复制,要么把持之以恒的人压在自己的项目上,要么增加提及东道国的内容。

添加:

页: 1

问题回答

暂无回答




相关问题
synchronized message with nservicebus

I have a web service that needs to make a call to nservicebus in a synchronized manner. How can this be achieved ?

How do I correctly pool multiple message in NServiceBus?

I have an NServiceBus app which receives a particular message when a large database update is required. While this update is happening, I want to either somehow ignore all incoming messages of this ...

NServiceBus - Application as subscriber and worker service

I have a service which needs to run on multiple machines picking jobs off of a single queue ensuring each job is only undertaken by a single service. I also need to publish messages for all services ...

Server architecture question. (WCF+NServiceBus)

First of all i will describe current state: Server consists of several WCF services, hosted in one or several win services on diffirent machines. Service responsible for recieving data from ...

MSMQ Access issue in NServiceBus with asp.net web service

I am trying to implement publisher - subscribe in my project of asp.net (wcf) web services. When i am trying to create bus in global.asax protected void Application_Start(object sender, EventArgs e)...

How to configure nservicebus msmqtransport with code

I m just geting started with NServiceBus and can t figure out what I m missing when configuring the MsmqTransport in code. If I configure the publisher like this; IBus bus = Configure.With() ...

Getting the NServiceBus Distributor Sample To Work

I m trying to use the Distributor in the NServiceBus FullDuplex sample but I can t get it working. I ve been following the this guide Getting the NServiceBus Distributor Working, but it doesn t work. ...

热门标签