English 中文(简体)
NSER公共汽车电传延迟问题
原标题:NService bus message delay problem

昨天,我进行了生产模拟。 结果是不好的。 两个服务器之间的联系是科索沃。 有时会出现大量拖延,约5-10分钟。 我发出一封信,两、三、二十和另一方面没有收到。 之后,所有电文都飞涨,答复寄给发人。 另一种情况是,我发出10个电文,而另一方则立即收到这些电文和答复。 但发送人没有收到答复。 5-10分钟后,答复在此。

接下来是什么。 请帮助我。

====================
EDIT: Both servers are windows XP sp3. Both computers are connected with openVPN. NSB is the latest version.

http://www.un.org。 =>applicaiton服务器<=publish/substat=>Denormalizer(阅读数据库)

昨天,我只测试了lex。 在1PC环境中,一切顺利。 当准备就绪时,我将测试第三部分。

最佳回答

您是否使用积极名录? 我记得,民主与发展可以引起与MSMQ的问题。 某些调查表的大致内容是巨大的,减少了事情...... 无论怎样,都只能记住。

否则,我建议首先在1台电脑上安装终端点,并从那里工作。 缓慢地增加变量,直到再次解体。

http://www.un.org。 在座各位中添加这一条:

.RunCustomAction(() => NServiceBus.Configure.Instance.Configurer.ConfigureProperty<MsmqTransport>(
                    mt => mt.SecondsToWaitForMessage, 2))

我不敢肯定,如果你正在利用东道国的话,你会如何组合。 我想:

    _Bus = NServiceBus.Configure.With()
                  .DefaultBuilder()
                  .Log4Net(new MyLogAppender())
                  .XmlSerializer()
                  .MsmqTransport()
                      .IsTransactional(true)
                      .PurgeOnStartup(true)
                  .UnicastBus()
                      .ImpersonateSender(false)
                      .DoNotAutoSubscribe()
                      .LoadMessageHandlers()
                  .RunCustomAction(() =>
                    NServiceBus.Configure.Instance.Configurer.ConfigureProperty<MsmqTransport>(
                    mt => mt.SecondsToWaitForMessage, 2))
                  .CreateBus()
                  .Start();

我有一个问题,即我的MSMQ小组将定期开会,从而造成拖延。 然而,违约时间只是在第二位(15秒钟?)。 我认为,这从来都无法消除其发生的原因,在MSMQ的图书馆中是一件难事。 我确实怀疑同一问题会造成10个性别+拖延,但值得尝试。

问题回答

暂无回答




相关问题
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. ...

热门标签